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: Timothy Bates <email@hidden>
- Date: Sat, 12 Apr 2003 11:04:18 +1000
>
tell script editor to path to document 1
This would be in script editor 2 beta? In Script Editor for me this returns
an error.
>
If you put this in your Scripts/Script Editor Scripts/ folder, you can run it
>
from the contextual menu (right click in the window or control-click)
>
try
>
set the clipboard to "" & (get path of document 1 as POSIX file)
>
end try
Again, is this SE 2, or the System-wide script menulet path? I haven't heard
of this cmm function for the system wide menulet, and someone mentioned that
the syntax there was to add an Applications folder into its path, so I guess
this is SE2's scripts folder?
Tim
_______________________________________________
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.