PDA

View Full Version : Help with making an alarm clock!




Mushrooshi
Nov 27, 2007, 05:54 PM
Hi, I want to make an alarm clock that at 6:00 AM

First sets the volume to mute...
Then it checks if it is a weekday
if it is it will launch "Stepmania" (A dance dance revolution sim), and then close it (Incase it is already open)

then it will launch again...


wait 3 seconds

press enter

wait 3 seconds

press enter

wait 3 seconds
press enter

wait 1 second
press enter
wait 3 seconds
press "right" 3 times
press enter
wait 10 seconds
wait till I solve it
press enter
wait 20 seconds
press enter

and the script is done.

What it will do is open up basically DDR on the computer, it will use arrowkeys to navigate the menus and pick a song on heavy then it will make me play the ddr thing.


I am using OS X tiger, will this work in Applescript? I dunno how to program it.



kainjow
Nov 28, 2007, 12:01 AM
will this work in Applescript? I dunno how to program it.

Well if you don't know, I suppose it's time to find out (http://developer.apple.com/documentation/applescript/conceptual/applescriptlangguide/). ;)