Re: Determining path to script
Re: Determining path to script
- Subject: Re: Determining path to script
- From: Bill White <email@hidden>
- Date: Tue, 02 Mar 2004 15:45:23 -0500
>
How do I make a script find out its own path?
>
>
A few websites have suggested 'path to me' but on my system (OS X) that
>
returns the location of the Script Editor rather than the script file
>
itself.
As a compiled script, "path to me" will give you the location of the
application that created the script (Script Editor, Script Debugger, etc).
If you save your script as an application, "path to me" will locate the
script.
--Bill
_______________________________________________
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.