• 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: Shane Stanley <email@hidden>
  • Date: Mon, 26 Nov 2007 08:51:01 +1100
  • Thread-topic: Script Editor rewrites my script, doesn't like its rewrite

On 26/11/07 3:30 AM, "Rob Lewis" <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 keyE»).

--
Shane Stanley <email@hidden>
AppleScript Pro Florida, Feb 2008 <http://scriptingmatters.com/aspro>


 _______________________________________________
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>
References: 
 >Script Editor rewrites my script, doesn't like its rewrite (From: Rob Lewis <email@hidden>)

  • Prev by Date: Re: bundle objects
  • Next by Date: Re: Script Editor rewrites my script, doesn't like its rewrite
  • Previous by thread: 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