Re: Apple event timed out
Re: Apple event timed out
- Subject: Re: Apple event timed out
- From: Pier Kuipers <email@hidden>
- Date: Thu, 11 Jan 2001 10:29:57 +0000
How to avoid Apple event timed out when displaying a dialog and the user
dont click the "OK" button in time?
The script:
tell application "Finder"
activate
display dialog "Done!" & return buttons {"OK"} default button "OK"
end tell
Try this:
with timeout of 300 seconds
-- script in here
end timeout
or get the script to "OK" after a set time:
-- beginning of script
display dialog "Done!" giving up after 10
-- end of script
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com