• 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
Script Editor rewrites my script, doesn't like its rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script Editor rewrites my script, doesn't like its rewrite


  • Subject: Script Editor rewrites my script, doesn't like its rewrite
  • From: Rob Lewis <email@hidden>
  • Date: Sun, 25 Nov 2007 08:30:13 -0800

OK, this one has me stumped: 

I write this in Script Editor: 

tell application "Adobe Acrobat Professional"
tell active doc to set info key "Keywords" value "My keyword"
end tell

Nothing too fancy, right? But when I compile it, it changes to this: 

tell application "Adobe Acrobat Professional"
tell active doc to set info key "Keywords" input volume "My keyword"
end tell

The sensical "value" gets changed to the utterly nonsensical "input volume"! Huh? 

It gets better. If I edit the script just to add a comment and recompile, I get an error message "Expected end of line, etc., but found property" with the "input volume" highlighted. 

I've tried munging the syntax every way I can think of, but it happens every time. Is this a bug in Acrobat (v. 8) or what?

Script Editor 2.1.1 under X Server 10.4.11. 
 _______________________________________________
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

  • Follow-Ups:
    • Re: Script Editor rewrites my script, doesn't like its rewrite
      • From: Shane Stanley <email@hidden>
  • Prev by Date: re: bundle objects
  • Next by Date: iTunes: Is the current song shared?
  • Previous by thread: OT: What'd my kids do to my prefs?
  • Next by thread: Re: Script Editor rewrites my script, doesn't like its rewrite
  • Index(es):
    • Date
    • Thread