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

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


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

Oh, great. How on earth am I ever going to find this? I've already checked the dictionaries of all the obvious candidates, and have not come across a property called "input volume". 

Is there any sort of tool for ferreting this kind of thing out? Doesn't Apple maintain some kind of registry to prevent this kind of BS? 

In the immortal words of Roseanne Roseannadanna, It's always somethin'!

On Nov 25, 2007, at 8:28 PM, email@hidden wrote:


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? 


That suggests a terminology conflict; you probably have a (third-party)

scripting addition installed that uses the same four-letter code for input

volume that Acrobat uses for value («class valL»).



 _______________________________________________
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: Christopher Nebel <email@hidden>
    • Re: Script Editor rewrites my script, doesn't like its rewrite
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: switching user using apple script
  • Next by Date: Re: Script Editor rewrites my script, doesn't like its rewrite
  • Previous by thread: Re: Script Editor rewrites my script, doesn't like its rewrite
  • Next by thread: Re: Script Editor rewrites my script, doesn't like its rewrite
  • Index(es):
    • Date
    • Thread