PDA

View Full Version : Applescript - Time limit on display dialogs




dryJ
Jun 2, 2009, 12:10 PM
Is there a way to put a time limit on a display dialog, so if I don't hit "OK", it will disappear after, say, 30 seconds?

This is my display stuff, fairly basic :p
display dialog message_en1 buttons "OK" default button "OK"



mysterytramp
Jun 2, 2009, 10:01 PM
This will work:

display dialog "Hello, World!" giving up after 10


10 is for seconds

mt

dryJ
Jun 3, 2009, 12:54 PM
Thanks for the help.