Re: Buttons with Display Dialog
Re: Buttons with Display Dialog
- Subject: Re: Buttons with Display Dialog
- From: Wayne Melrose <email@hidden>
- Date: Mon, 3 Dec 2007 15:41:58 +0100
On Dec 3, 2007, at 3:33 PM, Wayne Melrose wrote:
I can second this as a great idea.. it's only cosmetic thing but one
step further to that is ad a return in between the handler name and
the error message, and maybe even a separating marker..
something like..
on error errtxt
error "ThisHandlerName" & return & "-------------------" & errtxt
end
That way, as Emmanuel said, if the handler is actually called on
from another handler, you will get a history of where the error
occured.. something like this..
result -->
ThisHandlerName
-------------------
TheOtherHandlerName
-------------------
This is an error
slight correction to my own example there..
error "ThisHandlerName" & return & "-------------------" & return &
errtxt
_______________________________________________
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