Re: Script determines its path on run
Re: Script determines its path on run
- Subject: Re: Script determines its path on run
- From: Paul Skinner <email@hidden>
- Date: Mon, 16 Jun 2003 10:08:16 -0400
On Monday, June 16, 2003, at 08:11 AM, John Delacour wrote:
At 11:24 am +0200 16/6/03, Matyas Ferenc Farkas wrote:
Is there a method to determine the path of a running script on run?
I have
to do things with a script in a folder what is contained the folder
of the
script, but I do not know more detail.
Provided the script is run as an applet ir droplet, 'path to me' will
give you its path as an alias from which you can get any relative > path.
on run -- or whatever
set f to (path to me) as string
display dialog f
end
JD
Provided the script has no Parent property pointing at something other
than itself.
Paul
_______________________________________________
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.