Re: Script determines its path on run
Re: Script determines its path on run
- Subject: Re: Script determines its path on run
- From: John Delacour <email@hidden>
- Date: Mon, 16 Jun 2003 13:11:24 +0100
- Mac-eudora-version: 6.0b20
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
.
_______________________________________________
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.