Re: How to tell if "Save" failed
Re: How to tell if "Save" failed
- Subject: Re: How to tell if "Save" failed
- From: kai <email@hidden>
- Date: Sun, 11 Sep 2005 19:48:01 +0100
On 11 Sep 2005, at 14:42, email@hidden wrote:
Kai--
Thanks. Your response works (which is the most important part), but it
leaves me puzzled. Why does the "try" block not catch the error when
saving the file fails (bug, never meant to work that way, improperly
implemented on my side??)? Your code is clever enough to not need a
"try"
block to work. My faith in using "try" to catch errors is diminished.
I didn't make it clear, Cha - but my suggestion was intended as a
workaround. I agree with the views of others that this is a bug that
needs to be filed. It's not really the try block that's letting us
down here, but the application - for not making us aware that an
event has failed in the first place. This leaves the try block with
nothing to trap, so the script is then unable to act as prescribed in
the event of a failure. (Glad to hear that the workaround might help
until a fix is forthcoming.)
Best wishes,
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden