Re: Puzzling display dialog
Re: Puzzling display dialog
- Subject: Re: Puzzling display dialog
- From: Luther Fuller <email@hidden>
- Date: Mon, 19 Feb 2007 13:15:28 -0600
On Feb 19, 2007, at 9:55 AM, kai wrote:
A distilled, stand-alone snippet would really be the best way for
others to confirm whether or not the problem can be reproduced on
their machines. Under the conditions outlined so far, I certainly
can't replicate it here.
If the code mentioned is part of a larger, more complex script,
then I'd probably check to establish that the routine was not
somehow wrapped in a try statement, where the error handler
contains an alert.
Both errors were Finder errors. The first was caused by trying to
write an integer to a file comment instead of Unicode text. The
second was caused by trying to write an undefined value via the Finder.
Both errors were preceeded by a 'display dialog', but the error was
in the Finder. The Finder did not pass the error to my script (I
tested explicitly for this), but simply presented an error dialog
(with my application's icon).
And ... yes, this is part of a very much "larger, more complex
script". Since I've fixed the problem, I'm not going to worry to much
about reproducing for now. There are other things that need doing
now. I was just curious if anyone had seen this behavior before.
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden