Re: Error handling?
Re: Error handling?
- Subject: Re: Error handling?
- From: "S. J. Cunningham" <email@hidden>
- Date: Sun, 08 Mar 2015 09:47:57 -0400
On Mar 8, 2015, at 3:53 AM, Dave C wrote:
> tell application "Finder"
> eject "Moe"
> end tell
try
tell application "Finder"
eject "Moe"
end tell
on error errMsg number errNum
if errNum = straigthforwardErrorNumber then
return
else
display dialog "Non- Straightforward Error " & errNmu & ": " & errMsg
end if
end try
_______________________________________________
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