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 12:22:07 +0100
On 10 Sep 2005, at 19:46, I wrote:
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
------------
Doh! (That'll teach me to leave Jon's installed.) That should be:
------------
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
_______________________________________________
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