Re: Path of self
Re: Path of self
- Subject: Re: Path of self
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 07 Jan 2005 14:03:01 -0800
On 1/7/05 1:47 PM, "John Stewart" <email@hidden> wrote:
> On 01/07/05 at +0100 Bastiaan Boertien said this
>
>> Path to me
>>
>> It will not work in the editor. It will only work if you saved it as an
>> app. and run the script on its own.
>>
>> bastiaan
>
> That would depend on which editor you are referring to, Script Debugger will
> return the correct path to a compiled script once it has been saved. I believe
> Smile does the same.
Actually it's a setting in Script Debugger, which can be used either way.
And now in Panther 'path to me' also returns to path to the script, not to
"SystemUIServer", if run from a script in the system's Script Menu.
Non-application scripts (i.e. script documents) run from any other script
menu (e.g. Entourage, Tex-Edit Plus, etc.) return the path to the
application running the script.
--
Paul Berkowitz
_______________________________________________
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