Hi Folks,
I hope this is a simple question!
How can an AppleScript that is run from Illustrator's Scripts menu get a path to itself instead of Adobe Illustrator.app? I have been hard coding the path to the Scripts folder, but this won't work if the user puts the script into a subfolder of the Scripts folder.
The script below displays "<boot-volume>:Applications:Adobe Illustrator CS4:Adobe Illustrator.app" but I'm interested in the path to the script.
tell application "Finder" display dialog ((path to me) as Unicode text) end tell
Thanks!
-- Jim