Looking to generate a script that will use the “Create PDF > From Multiple Files” functionality in Acrobat. Ie. I have jobs of 50-200 pages that I’m looking to combine into one pdf. I could get Acrobat to add pages in a repeat process one at a time, but the Create PDF method is a faster way of doing this.
Where is the syntax error with this code:
activate application "Adobe Acrobat 8 Professional" tell application "System Events" tell process "Acrobat" click menu item "From Multiple Files..." of menu item "Create PDF" of menu "File" of menu bar 1 end tell end tell
Returns: “System Events got an error: NSReceiverEvaluationScriptError: 4”
Yes, GUI access is enabled through the scripting control panel.