Re: Tiger: determining if a script is being run as an application
Re: Tiger: determining if a script is being run as an application
- Subject: Re: Tiger: determining if a script is being run as an application
- From: Stephen Jonke <email@hidden>
- Date: Sun, 5 Jun 2005 23:00:18 -0400
On Jun 5, 2005, at 10:27 PM, kai wrote:
(info for (path to me))'s file creator is "aplt"
Hmm... close! While it does produce "false" when run in the script
editor, it produces "true" when run under FastScripts, and probably
anything else that works similarly. I want, in that case, for it to
return false. FastScripts runs the script in a script application by
itself, without launching it as an app. So the file itself is a
script application, but it is being run as a script, not an application.
FYI, this is as it relates to my script Laserlight:
http://homepage.mac.com/sjonke/scripts/laserlight/
My "(class of parent of parent) is script" hack seems to work, but
for how long?
Steve
_________________________________________________________________
Stephen Jonke email@hidden
_______________________________________________
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