Re: Compiling launches app
Re: Compiling launches app
- Subject: Re: Compiling launches app
- From: Christopher Nebel <email@hidden>
- Date: Mon, 15 May 2006 13:51:13 -0700
On May 15, 2006, at 10:02 AM, Kevin Bradley wrote:
I'm trying to bring the old "Applescript Sourcebook" up-to-date
with the release notes from older versions of Applescript. While
doing so, I came across the the notes for version 1.9.1 (a Jaguar
release)(http://www.apple.com/applescript/releasenotes/191OSX.html)
that included a fix noted as:
"In AppleScript 1.6 through 1.9, compiling a script might cause it
to unnecessarily launch an application referred to in a Tell block
of that script. This has been fixed in AppleScript 1.9.1. [2838223]"
As far as I can tell, compiling a script in Script Editor STILL
causes the target app to launch, so I'm not clear on what this fix
was/is. Does anyone understand this?
If an application says it needs to be launched in order to get its
dictionary, then that's what AppleScript will do. This is not a bug
in AppleScript.
The fix you mention had to do with completely unscriptable
applications (which you can still tell to do basic things, such as
"activate", "open", or "quit") -- AppleScript would sometimes launch
them in a futile attempt to get their dictionary.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden