Re: Script Modification
Re: Script Modification
On Jan 16, 2011, at 9:04am, Neil Laubenthal wrote:
> ... uses GUI Scripting and includes a bunch of code to work with various versions of Acrobat . . . it's just that I'm not enough of a scripter to figure out how to easily do that.
>
>
> On Jan 16, 2011, at 11:22 AM, email@hidden wrote:
>
>> Tell application "Acrobat 9.0"
>> tell the front document
>> save as newPDFpath
>> --save in newPDFpath
>> -- Check the acrobat dictionary for the exact term
>> close
>> end tell
>> end tell
Good. I'm assuming you just want to make it work your way for your version of acrobat.
Try this: Open a PDF document. Try the above snippet in a script all by itself. (You may be prompted to navigate to acrobat the first time you compile it, but that should happen only once.)
Run it and see if it works. If not, note out the save as line and un-note the save in line and try again. Still no luck, then, in the file menu of SE, select open dictionary and navigate to the Acrobat application. Look in the commands for Save. If you don't grok how to build the command from the dictionary, post the dictionary entry for that command and someone (me?) should be able to help.
ES _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden