Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 25, 2010, 12:25 AM   #1
rock9138
macrumors newbie
 
Join Date: May 2009
Applescrpt: in need some help

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
rock9138 is offline   0 Reply With Quote
Old Jun 26, 2010, 10:26 AM   #2
ccamelot
macrumors newbie
 
Join Date: Feb 2010
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
ccamelot is offline   0 Reply With Quote
Old Jun 26, 2010, 02:04 PM   #3
Caleb531
macrumors 6502
 
Join Date: Oct 2009
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
Caleb531 is offline   0 Reply With Quote
Old Jun 27, 2010, 11:59 AM   #4
rock9138
Thread Starter
macrumors newbie
 
Join Date: May 2009
thanx that helps

do you know away to make it so you cant use other applications wile the dialog box is open?
rock9138 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Need some help getting some documentation...asking for help The.316 Community Discussion 20 Feb 5, 2011 03:52 PM
I need some help. I have 20 TBs worth of storage; and I need more. Need help!! WiiDSmoker Apple TV and Home Theater 56 Sep 24, 2010 06:42 PM
Help am in a pickle and need some help thetonyclifton Jailbreaks and iOS Hacks 9 Jun 25, 2010 12:16 PM
Need some help from Mac users in Tdot! rhpenguin Community 5 Jul 6, 2004 03:09 PM
I can't buy music in iTunes, need some help. cr2sh Mac Applications and Mac App Store 5 Jun 6, 2004 09:21 PM


All times are GMT -5. The time now is 03:23 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC