Re: Scripting additions and X
Re: Scripting additions and X
- Subject: Re: Scripting additions and X
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 22 Oct 2001 13:48:13 -0400
on 10/22/01 10:56 AM, Bill Cheeseman at email@hidden wrote:
>
on 10/22/01 7:33 AM, Shane Stanley at email@hidden wrote:
>
>
> While running 10.1, I accidentally ran a droplet that uses Leonard's SuffIt
>
> Commands scripting addition. To my surprise, the script ran fine, and
>
> judging by the dialog that came up, it invoked the Classic version of the
>
> StuffIt Engine.
>
>
In the Mac OS X Finder, if you do a Show Info on the droplet, is the
>
checkbox for "Run in Classic" (or words to that effect) checked? That would
>
explain it.
>
>
Or, had the script been compiled while the machine was booted into Mac OS 9?
>
If so, maybe it kept a persistent reference to the scripting addition and to
>
the Mac OS 9 version of StuffIt Engine.
>
>
I assume the script doesn't use the documented technique to force a
>
scripting addition to run in the Classic environment (a tell block to a
>
variable set to an alias to the scripting addition, nested in a using terms
>
from block, and so on).
Or: In AppleScript 1.6, applets had to be saved as classic applets or Mac OS
X applets, and I believe an applet saved under AppleScript 1.6 as a classic
applet automatically runs in Classic even under AppleScript 1.7. In
AppleScript 1.7, although there is only one "universal" form of applet shell
for all environments, the old rules still apply to older applets that were
saved for a particular environment. Perhaps that explains it.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont