Re: Newbie question:
Re: Newbie question:
- Subject: Re: Newbie question:
- From: Emmanuel <email@hidden>
- Date: Wed, 11 Feb 2004 23:45:19 +0100
At 1:37 PM -0700 2/11/04, Martha Espinosa wrote:
>
Hi,
>
>
I created an applescript that does a "backup" of the users documents to an external drive. At the end of my script I rename the folder to backup_02_11_04.
>
>
My problem is that I have users that have about 8 gigs of data or more and my script times out and copies everything but doesn't rename my folder.
You've got to use the "with timeout ..." clause so that the script won't time out and will terminate properly.
------------------------
with timeout of (7 * 24 * 3600) seconds -- time out in one week
Perform_Cool_Backup_And_Do_Take_Your_Time()
end timeout
------------------------
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.