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: John Delacour <email@hidden>
- Date: Sat, 12 Apr 2003 02:23:15 +0100
- Mac-eudora-version: 6.0a15
At 11:04 am +1000 12/4/03, Timothy Bates wrote:
>
> 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.
Of course. It is not scriptable.
>
> 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?
I tried that and it was most inconvenient and troublesome. The
scripts must be in /Library/Scripts/Script Menu Scripts and not in
the user Library.
JD
Here's what the CM looks like (your Bcc only)
[picture]
[demime 0.98b removed an attachment of type image/png which had a name of P4CA4259B" ; x-mac-type="504E4766" ; x-mac-creator="70727677]
_______________________________________________
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.