Re: Script Editor rewrites my script, doesn't like its rewrite
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'!
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