Copy link to clipboard
Copied
Hi all
I´m trying to sleep visual basic script for a time using WScript.sleep, and get an object required error.
How can I send to sleep a vb script?
Regards
Copy link to clipboard
Copied
VBS script must be launched with a doScript call from InDesign. That´s why WScript is failing.
I tried to create InDesign.Application, and got a "'Name' is a read only property" error (?)
Regards
Copy link to clipboard
Copied
Yes, you cannot call WScript from doScript. You have to write the vbscript to a file, then execute the file. WScript will then work.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more