Hi there,
I have a simple script here:
Set objWord = CreateObject("Word.Application")
Set objDoc = objWord.Documents.Open("Z:\MyFolder\MyFile.doc")
objDoc.PrintOut()
objDoc.Saved = TRUE
objWord.Quit
And my default printer is set to "Adobe PDF" in order to automatically
generate a "MyFile.pdf" PDF file into my "Z:\MyFolder\" folder.
Everything is ok, but there is no way to configure the Adobe PDF
virtual printer to say to him: ok guy, don't prompt for a file name,
just save the new file as "Myfile.pdf"...
So, when i run my script, a prompt window appears to confirm that the
new pdf file name will be "MyFile.pdf". The answer will always be Yes.
My question is:
Is there a way to run this script (or wsh version) where all possible
(and unwaited) prompts would be "automatically" clicked with default
button?
Thanks
num GG