T Treemont macrumors newbie Original poster Apr 18, 2010 1 0 Apr 18, 2010 #1 I am wondering if there is a way to close a dialog after, say, 20 minutes even if no button has clicked. Alternatively if there is a way for the script to continue after a certain amount of time even if the dialog box doesn't receive input.
I am wondering if there is a way to close a dialog after, say, 20 minutes even if no button has clicked. Alternatively if there is a way for the script to continue after a certain amount of time even if the dialog box doesn't receive input.
chown33 Moderator Staff member Aug 9, 2009 11,208 9,228 A sea of green Apr 18, 2010 #2 Launch your script editor. Open the scripting dictionary of Standard Additions. Look at the reference for the 'display dialog' command (under the User Interaction section). Note the 'giving up after' clause.
Launch your script editor. Open the scripting dictionary of Standard Additions. Look at the reference for the 'display dialog' command (under the User Interaction section). Note the 'giving up after' clause.
Caleb531 macrumors 6502 Oct 17, 2009 289 0 Apr 18, 2010 #3 You can have any dialog box close after a number of seconds (if you haven't clicked a button already). Code: display dialog "Hello" giving up after 1200
You can have any dialog box close after a number of seconds (if you haven't clicked a button already). Code: display dialog "Hello" giving up after 1200