Re: Sudden unusual behavior with tell app commands
Re: Sudden unusual behavior with tell app commands
- Subject: Re: Sudden unusual behavior with tell app commands
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 14 Sep 2001 12:22:42 -0700
>
>>>Why don't you just keep the relevant apps open while you're working on the script?
>
>It's probably easiest to develop with the target applications running.
Both of those comments are good advice. You could also put an alias to the app in the Script Editor folder and it should find the app without your help.
>
>>>>Now, wait a minute guys. Please help me to clear this up, once, and for all.
I'll try... Some applications, like Quark, Photoshop and InDesign have dynamic dictionaries. This means that a plug-in or Xtension developer can add appleEvent commands and capabilities to the app at run time. PhotoScripter does this with PhotoShop and ScriptMaster XT does with Quark.
In these cases, AppleScript needs to have applications with dynamic dictionaries running so it can read the AETE with all the additional commands included.
The behavior for static dictionaries is different. In those cases the application does not have to launch. Script Editor can simply read the aete resource from the application file. But in either case Script Editor needs to know where the application is in order to compile a script that uses commands from that application.
HTH,
ES