Re: applescript-users digest, Vol 2 #751 - 11 msgs
Re: applescript-users digest, Vol 2 #751 - 11 msgs
- Subject: Re: applescript-users digest, Vol 2 #751 - 11 msgs
- From: Guy Parker <email@hidden>
- Date: Tue, 12 Jun 2001 16:10:41 +0100
'Cos of the way this list mangles script I can't read your example but you
should try to place a "with timeout...end timeout" around the portion of the
script you think is a problem. Kind of like this...
tell application "Finder"
with timeout of 600 seconds
--do something
end timeout
end tell
Guy
P.S. Which part of Capital One are you at...UK or elsewhere?
>
Hello group:
>
>
I'm having some difficulty with a large script I've been asked to
>
maintain. The developer who initially coded the script is leaving prior to
>
the script being put into production. The script does have a couple of
>
issues remaining to be worked out, and that job has fallen on my shoulders.
>
>
The biggest problem I have is with large files. During one part of
>
the script, if the file size is too great, an error dialog box shows up on
>
screen "Apple Event timed out." and the script fails to continue executing.
>
The script works very well on small files. The code that is causing the
>
timeout is at the very bottom of the script. The problem seems to show up
>
most frequently over Airport. A wired connection seems to work a little
>
better, but may still occasionally time out.
>
>
Thanks for any help you can provide.
>
>
Christopher Fox
>
Macintosh Support