Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 2, 2009, 12:10 PM   #1
dryJ
macrumors newbie
 
Join Date: Oct 2008
Applescript - Time limit on display dialogs

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
Code:
display dialog message_en1 buttons "OK" default button "OK"
dryJ is offline   0 Reply With Quote
Old Jun 2, 2009, 10:01 PM   #2
mysterytramp
macrumors 65816
 
mysterytramp's Avatar
 
Join Date: Jul 2008
Location: Maryland
This will work:

Code:
display dialog "Hello, World!" giving up after 10
10 is for seconds

mt
__________________
What looks large from a distance, close up ain't never that big.
mysterytramp is offline   0 Reply With Quote
Old Jun 3, 2009, 12:54 PM   #3
dryJ
Thread Starter
macrumors newbie
 
Join Date: Oct 2008
Thanks for the help.
dryJ is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Rising Sapphire Display Cost May Limit Production of 5.5-Inch iPhone 6 MacRumors MacRumors.com News Discussion 151 May 8, 2014 04:16 AM
Time limit on alarms? Faize iOS 7 3 Apr 11, 2014 04:58 AM
File dialogs take time to load folder contents printz OS X Mavericks (10.9) 16 Jan 4, 2014 03:29 AM
dictation time limit? doobybiggs OS X 10.8 Mountain Lion 10 Jul 30, 2012 04:13 AM
Need Help Bypassing a Internet time limit ineedanewimac Wasteland 3 Jul 10, 2012 02:56 PM

Forum Jump

All times are GMT -5. The time now is 06:32 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC