Re: finding out the name of the script file
Re: finding out the name of the script file
- Subject: Re: finding out the name of the script file
- From: Michelle Steiner <email@hidden>
- Date: Thu, 25 Aug 2005 06:55:03 -0700
On Aug 25, 2005, at 6:30 AM, patrick machielse wrote:
Is there a way to find out the script's file name?
Here is one way. It won't work from script editor, but will work
from the script menu. I offer it as proof of concept; it will most
likely need to be modified for your specific use.
tell application "Finder" to display dialog (name of (path to me) as
text)
-- Michelle
--
I've noticed lately that the paranoid fear of computers becoming
intelligent and taking over the world has almost entirely disappeared
from the common culture. Near as I can tell, this coincides with the
release of MS-DOS.
-- Larry DeLuca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden