• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Modification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Modification


  • Subject: Re: Script Modification
  • From: "email@hidden" <email@hidden>
  • Date: Sun, 16 Jan 2011 10:08:49 -0800

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

References: 
 >Script Modification (From: Neil Laubenthal <email@hidden>)
 >Re: Script Modification (From: "email@hidden" <email@hidden>)
 >Re: Script Modification (From: Neil Laubenthal <email@hidden>)

  • Prev by Date: Re: Setting bounds in Terminal
  • Next by Date: Re: Setting bounds in Terminal
  • Previous by thread: Re: Script Modification
  • Next by thread: A Subtle Error
  • Index(es):
    • Date
    • Thread