Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rock9138

macrumors newbie
Original poster
May 8, 2009
6
0
I'm trying to make an applescript that a box will pop up asking for an amount of minutes. then it will set the amount of minutes entered to the delay before starting the second part of the scrpt.
so delay = number entered

thanx
-Rock9138 :apple:
 
Check this thread

Hi, check this thread <http://macscripter.net/viewtopic.php?id=13948>. There you can find example applescript doing something similar. Hope it helps.

Les
 
Here you go:

Code:
display dialog "Hello, world!" with title "Hello" default answer "5"
set inSeconds to (text returned of result) * 60
delay inSeconds
-- start part 2 here
 
thanx that helps

do you know away to make it so you cant use other applications wile the dialog box is open?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.