Re: check alias
Re: check alias
- Subject: Re: check alias
- From: Rounak Jain <email@hidden>
- Date: Tue, 29 Sep 2009 20:44:36 +0530
Wait!!! I just tested:set ifolder to "path:to:" try ifolder as alias try ifolder as alias on error e beep 2 end try
on error e beep 3 end try
and I found that what you said is correct. But my problem is that i want one of the "on error" before the last on error to do something. For example, in the above script, I want to hear two beeps, not three. How to do it? On Sep 29, 2009, at 5:57 PM, Brian Christmas wrote: G'day Rounak
When a try/end try statement generates an error, the script goes to the outer or last 'on error' line
If you want to suppress errors in a try statement, try the following
try ---1 ifile as alias
try --2 ------. on error e --do nothing end try
try --3 ---- on error e --do nothing end try -------- on error e --do this
end try
Regards
Santa
|
_______________________________________________
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