Avoiding a timeout

Someone refresh my recollection of how to avoid a timeout in a script while waiting for the Finder to copy a large number of files to a thumb drive.

(Which under 10.5.2 seems to take much, much longer than it used to do.)

If you have the Finder in a tell block the script will time out in two minutes on Tiger.

Tom

Adam:

I think all you need is:


with timeout of XX00 seconds -- *more* than sufficient time for the script operation

-- do your stuff

end timeout

–

The timeout statement will not affect the amount of time required to run the script… only prevent the timeout.

Peter B.