• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Apple event timed out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Apple event timed out (From: Peter Mathiessen <email@hidden>)

  • Prev by Date: Re: Mac OS 9.1 Standard Additions OSAX
  • Next by Date: Re: Stay Open
  • Previous by thread: Apple event timed out
  • Next by thread: Apple event timed out II
  • Index(es):
    • Date
    • Thread