Re: Application Bundles in Panther
Re: Application Bundles in Panther
- Subject: Re: Application Bundles in Panther
- From: Christopher Nebel <email@hidden>
- Date: Mon, 3 Nov 2003 16:00:11 -0800
On Nov 2, 2003, at 4:48 PM, Walter Ian Kaye wrote:
At 10:38a -0500 11/02/2003, Brett Kirksey didst inscribe upon an
electronic papyrus:
>From AppleScript 1.9.2 release notes
<http://www.apple.com/applescript/releasenotes/192OSX.html>:
The path to me command will return a path that ends with
a colon when used within a script application that has
been saved in the new bundled format.
Looks like you could just get the "path to me" of your script and
tack on the path to your resources.
But he's not asking about applications, he's asking about scripts.
The above quote refers only to the folder-ish nature of application
bundles, and says nothing at all about document bundles.
There is no way to get the on-disk location of a plain script, bundled
or otherwise, for the same reasons that have always been there. "Path
to me" returns the path of the host application, not the script.
Sorry.
--Chris Nebel
AppleScript Engineering
_______________________________________________
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.