Economy-x-Talk - Sample Scripts
Delay AS
An AppleScript example, showing the use of an ask dialog and the delay command.
by Michelle Steiner
on run {}
set the timeDelay to ¬
(text returned of (display dialog ¬
"When would you like the alert to happen (In seconds)?" & ¬
"" default answer "3")) as integer
set the alertText to ¬
(text returned of (display dialog ¬
"What should I say?" default answer ¬
"Shave, shower, go to school NOW!"))
delay timeDelay
beep
display dialog alertText
end run
Keep this extensive resource of tutorials and samples on-line! Support RunRev.info!
| Yes, this script is useful. I make a donation and choose freely how much I want to donate on-line (PayPal). Click here if you want to make a donation in dollars. | This script has not (completely) solved my problem and I want Economy-x-Talk to take care of it. Let me contact you. |
Copyright©2002-2008 by Mark Schonewille, Nijmegen, the Netherlands. This web site is in no way affiliated with Runtime Revolution Ltd., but we do recommend the Revolution development platform.