Re: Determining path to script
Re: Determining path to script
- Subject: Re: Determining path to script
- From: Michelle Steiner <email@hidden>
- Date: Tue, 2 Mar 2004 13:42:28 -0700
On Mar 2, 2004, at 1:16 PM, Chap Harrison wrote:
How do I make a script find out its own path?
If we ever come up with a FAQ, this will be one of the first items on
it.
The best way to make a script find its own path would be to save it as
an application. As you discovered "path to me" returns the path to the
calling application.
I believe that some of the third-party script editors can let a script
return its own path instead of the calling application's path. (I
wonder, though, what they do with a script that has not been saved
yet.)
-- Michelle
--
Chastity always takes its toll. In some it produces pimples; in others,
sex laws. -- Karl Kraus
_______________________________________________
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.