Re: how can script bundles store extra stuff?
Re: how can script bundles store extra stuff?
- Subject: Re: how can script bundles store extra stuff?
- From: Emmanuel <email@hidden>
- Date: Sun, 24 Jul 2005 21:32:07 +0200
At 7:27 PM +0100 7/24/05, has wrote:
The problem is that AppleScript packs both the 'me' reference and
'current application' constant into an Apple event as null
descriptors, so an application or osax handling that event is unable
to determine which one the user meant. For example, in Smile, both
'path to me' and 'path to current application' return the path to
the script file if one exists, or to the Smile application if not.
Whereas for 'path to me' what it ought to do is return the path to
the script file if one exists or raise an error if not, and for
'path to current application'. always return the path to Smile.app.
That's very minor, but I think that previous versions of Smile would
return the path to the script for a "path to me" run from a compiled
script in Smile, whereas "path to current application" would always
return Smile's path.
This has been changed into what you say, in order to make debugging
applets easier, so I would rather disagree with your statement about
what Smile "ought to do".
Emmanuel
_______________________________________________
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