Re: Buttons with Display Dialog
Re: Buttons with Display Dialog
- Subject: Re: Buttons with Display Dialog
- From: Skeeve <email@hidden>
- Date: Mon, 03 Dec 2007 14:35:06 +0100
Emmanuel wrote:
Far from the topic, but this does not make a very good error display,
as you don't get something very meaningful when you append " occurred"
to an error message, look:
File "Macintosh HD:bah" was not found. occurred
or
Can't divide 1.0 by zero. occurred
;-) Is that bad english? I'm German. Just kidding. No. I'm really
German. Just kidding about the question.
Of course you are right. So what would be a good alternative?
return "An error occurred!" & return & "The message was: " & errtxt
But after all: This is just an example, not a ready-to-go handler.
_______________________________________________
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