We are running a job that uses both Apple Script and JavaScript within Acrobat to process PDF's. Basically AppleScript tranfers multiple files to folder that has an AppleScript attached to it. The AppleScript then launches Acrobat and runs a JavaScript within Acrobat. The problem is that AppleScript continues to open documents before the intitial document has finished processing. Is there a way to have Acrobat hold the other PDF's until it has finished processing the currently open document and then proceed to the next PDF in line.
Thanks,
Richard.
Platform: Macintosh
Version: Acrobat 8
One idea, if it's possible for your process, is to have JS close the PDF after processing. Then the AppleScript tests for the file being open.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script