Re: Without leaving Script Editor, how can I get a script's saved path?
Re: Without leaving Script Editor, how can I get a script's saved path?
- Subject: Re: Without leaving Script Editor, how can I get a script's saved path?
- From: Deivy Petrescu <email@hidden>
- Date: Fri, 11 Apr 2003 20:15:50 -0400
On Friday, April 11, 2003, at 07:18 PM, Michael Cytrynowicz wrote:
Jakob,
Sure does! Thanx!
This is what I got so far - I open another SE window, and run this,
tell application "Script Editor"
get the path of document 2
end tell
I get the path to the other script - in this form:
"/Users/mike/Design folders/Design1/02-AppleScript/PS capture text to
BBEdit.scpt"
I can "posix" it in another script to get the usual HFS path, but I
will try
to do it in one pass (if I can...)
Thanks again, for the great help,
Mike
Michael,
This does not answer via AS, but if you drag the icon of a saved script
to BBEdit, you should have the the path to the document in the Finder's
format.
Also, cmd-clicking the icon of the script will give you the full path
to the application.
Another thing , I would have to have strong reason not save the script
in my or the System's Library's Script Folder. You can use the script
menu.
Abragco
Deivy
_______________________________________________
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.