Re: How to tell if "Save" failed
Re: How to tell if "Save" failed
- Subject: Re: How to tell if "Save" failed
- From: email@hidden
- Date: Sun, 11 Sep 2005 06:42:21 -0700 (PDT)
> You might consider using the file's creation or modification date:
>
> set saveDate to current date
> try
> save self contained movie 1 in file (replacementPath)
> if modification date of (info for file replacementPath) <
saveDate then error
> on error
> display dialog ("Error2")
> end try
> close window 1
>
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.
--Cha
_______________________________________________
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