Re: osascript - path to me
Re: osascript - path to me
- Subject: Re: osascript - path to me
- From: garbanzito <email@hidden>
- Date: Tue, 21 May 2002 23:51:24 -0600
at 2002 05 22, 10:45 +1000, they whom i call Timothy Bates wrote:
But seriously, re Chris's suggestion, if the bundle stored the location of
itself, that would solve my problem in an editor-independent way (except
that it would only work on version of AppleScript >= this new proposed one.
i haven't thought this through or attempted to implement it,
but it would seem that if an "application bundle" could be
wrapped around a script, and if in that bundle were a
resource that was a small applet (for which "path to me"
works as expected), then perhaps the main script could call
the applet to reliably get the location. and application
bundles work on Mac OS 9 too, so just maybe it would be a
backwardly compatible, though kludgey, solution.
--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.