Re: Get path to script in Panther
Re: Get path to script in Panther
- Subject: Re: Get path to script in Panther
- From: Emmanuel <email@hidden>
- Date: Fri, 30 Jan 2004 09:53:54 +0100
At 9:10 PM -0800 29/01/04, Paul Berkowitz wrote:
>
On 1/29/04 7:20 PM, "Gnarlodious" <email@hidden> wrote:
>
>
'path to me' has _always_ returned the path to the application running the
>
script. If you put it into an applet (script application) you'll get the
>
path to the script just fine. If you run it in a script editor, you'll get
>
the path to the script editor (unless you have Script Debugger and choose
>
the pref to to have it return the path to the script document or app).
Thanks very much Paul for this information.
In Smile - unlike you suggest - "path to me" returns the path to the document - script, applet or text.
Emmanuel
Hint of the day: in Smile, use "folder of" to retrieve the container of a file.
_______________________________________________
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.