Re: strangeness getting "path to me"
Re: strangeness getting "path to me"
- Subject: Re: strangeness getting "path to me"
- From: Shane Stanley <email@hidden>
- Date: Sat, 25 Jun 2016 10:30:16 +1000
On 25 Jun 2016, at 8:21 AM, Mitchell L Model <email@hidden> wrote:
Unless my frequent carelessness has intervened, I am getting a very strange result with “path to me”
property pathToMe1 : (POSIX path of (path to me as text)) property pathToMe2 : missing value set pathToMe2 to (POSIX path of (path to me as text)) {pathToMe1, pathToMe2}
pathToMe1 is the path to Script Editor or Script Debugger pathToMe2 i the path to the script, which is what I want
The difference is due to the fact that code in property declarations is compile separately, not as part of the overall (until then non-existent) script, at compile time.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden