Re: Get current working directory
Re: Get current working directory
- Subject: Re: Get current working directory
- From: "Gary (Lists)" <email@hidden>
- Date: Mon, 03 Oct 2005 13:32:17 -0400
"Paul Berkowitz" wrote:
>> If you're looking for the folder containing the AppleScript program
>> being run, you could try using "path to me", but that only works if
>> you compile the script as an app. Otherwise it returns the path to
>> the host app instead (e.g. Script Editor).
>
> In Tiger (and, I think, Panther?) it also returns a .scpt file's location
> when running from the system's script menu.
Panther clarification, from system's script menu ...
.scpt files: 'path to me' returns path to System Events
.app files: 'path to me' returns path to the .app file
...OMM, that is.
--
Gary
_______________________________________________
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