Re: Finder Duplicate Operation timing out
Re: Finder Duplicate Operation timing out
- Subject: Re: Finder Duplicate Operation timing out
- From: email@hidden (Michael Sullivan)
- Date: Wed, 30 Jan 2002 15:58:14 -0500
- Organization: Society for the Incurably Pompous
Steve Kump <email@hidden> writes:
>
I have this code:
>
duplicate folder theFolder to folder "Macintosh HD:Backup:"
>
it works fine except it often times out with the message, Apple Event
>
Timed Out, because there are a lot of items in the folder to move,
>
and it takes a few minutes.
>
Is there a way to prevent this as it kills the rest of the script. If
>
I place it within a try, other operations I want to do to the folder
>
once it is moved also fail.
I believe the syntax you're looking for is the following:
with timeout of n seconds
-- insruction that may take a long time
end timeout
to force a timeout of your own design.
Michael
--
Michael Sullivan
Business Card Express of CT Thermographers to the Trade
Cheshire, CT email@hidden