Re: The script running finding a path to itself
Re: The script running finding a path to itself
- Subject: Re: The script running finding a path to itself
- From: Michael Henley <email@hidden>
- Date: Wed, 16 Nov 2005 20:46:25 -0500
Brett,
You're almost there, all you have to do is save the script and run it outside of the Script Editor.
Michael Henley
On Nov 16, 2005, at 20:41:41, Brett Conlon wrote: Hi all, I had a play with the following code but it only returns the Script editor app (which is me... not the script). Is there another reference for "me" to mean the script running? set ScriptPath to alias (path to me as text) tell application "Finder" activate display dialog ("This is ME: " & ScriptPath) end tell Your assistance will be greeted with much enthusiasm! ;-D Cojcolds
|
_______________________________________________
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