• 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: Compiling launches app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Compiling launches app (From: Kevin Bradley <email@hidden>)

  • Prev by Date: Re: Do shell script with applescript strings containing returns
  • Next by Date: Re: Do shell script with applescript strings containing returns
  • Previous by thread: Re: Compiling launches app
  • Next by thread: Do shell script with applescript strings containing returns
  • Index(es):
    • Date
    • Thread