Re: Timeout not working
Re: Timeout not working
- Subject: Re: Timeout not working
- From: "John McElwain" <email@hidden>
- Date: Wed, 18 Jul 2001 23:06:51 -0600
Run the script outside of FileMaker. (Send an Apple Event to run the
script). For some reason running an AppleScript within FM sometimes screws
up the timeout handling within the script.
I had a similar problem with a dialog that I wanted to remain for an hour,
but because the dialog was within a 'Tell app ...' bracket the dialog would
always timeout after the default ~60 sec. Replacing the single dialog line
with the lines
tell me
activate
display dialog... giving up after 3600
end tell
solved my problem
----------
>
From: email@hidden
>
To: email@hidden
>
Subject: applescript-users digest, Vol 2 #877 - 13 msgs
>
Date: Wed, Jul 18, 2001, 4:35 PM
>
>
Subject: Timeout not working
>
From: Rich Fortnum <email@hidden>
>
To: Submit AppleScript-Users <email@hidden>
>
>
Hey there. Me again.
>
>
I have a FileMaker script that reaches out and copies a folder to a ZIP,
>
initiated by a button. I put in a timeout of 360 seconds, however the ON
>
ERROR line gets initiated after about 1 minute 15 seconds. Does anybody
>
know why, and how I can get around this problem?
>
>
I have 13 databases I want to copy over in its parent folder, and the
>
largest is about 12 Mb in size, or about 30 seconds copy time. I am just
>
copying the parent folder (by reference) onto the ZIP after I erase the ZIP.
>
The timeout doesn't let me finish the script by ejecting the ZIP because it
>
thinks it's run into an error.
>
>
Any help appreciated.
>
>
Cheers.