Re: Apple event timeout on display dialog
Re: Apple event timeout on display dialog
- Subject: Re: Apple event timeout on display dialog
- From: has <email@hidden>
- Date: Mon, 15 Oct 2001 22:46:13 +0100
>
> I have a script that when finished performing the necessary operations it
>
> displays a dialog in the finder with a message for the user. The problem I
>
> have run into is that if the user doesn't click OK in a reasonable amount of
>
> time, I get an Apple Event Timed out error. Is there any way for that
>
> dialog to display indefinitely so that I don't get the timeout?
>
>
>
> Thanks in advance.
>
>
>
If there's nothing else the script needs to do, you can use the "giving up
>
after" paramater of Display Dialog.
>
>
Display Dialog "I've finished!" giving up after 5.
Or, if you really do want to keep a dialog up indefinitely (more or less),
increase the timeout delay:
with timeout of 600000 seconds
display dialog "I've finished!"
end timeout
HTH
has