Re: can't find error
Re: can't find error
- Subject: Re: can't find error
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 13 Feb 2015 23:18:30 +0000
- Thread-topic: can't find error
On 2/4/15, 11:02 AM, "Robert Poland" <email@hidden> wrote:
>But when as part of the larger script I get the error ³The variable
>processlist is not defined².
On 2/4/15, 11:12 AM, "Stockly, Ed" <email@hidden> wrote:
>I seem to remember an issue where a variable could become "undefined" if
>it's set to something like a missing value. Anyone?
This is what I was remembering:
---
tell application "Finder"
set myLocation to (container of (path to me)) as alias
set myFolder to ""
set myFolder to open myLocation
return myFolder
end tell
‹‹‹
Setting a variable to a command that does not return a result, makes the
variable undefined. It should trip an error no?
Bug?
ES
_______________________________________________
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