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: Sat, 10 Sep 2005 19:46:24 +0100
On 10 Sep 2005, at 04:20, email@hidden wrote:
This must be obvious, but how can I tell if a "Save" failed?
[snip]
try
save self contained movie 1 in file (replacementPath)
on error
display dialog ("Error2")
end try
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 replacementPath) <
saveDate then error
on error
display dialog ("Error2")
end try
------------
---
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