ZibbZ Posted August 23, 2005 Share Posted August 23, 2005 Does anyone know how to make an alarm clock? Like at certain time it would turn on, lets say at 8 o'clock am, and at 8 am my music would start playing. Or like a count down until my music would turn on. Is it possible? I would like it if it controlled the sound too. I think i know how to do the sound (SoundSetWaveVolume). Is it right? Please help me. Thank you [font="Optima"]ZibbZ[/font] Link to comment Share on other sites More sharing options...
MSLx Fanboy Posted August 23, 2005 Share Posted August 23, 2005 Well, you may want to look into a while loop, the @HOUR and @MIN macros, Run() (windows media player maybe?). Writing AutoIt scripts since _DateAdd("d", -2, _NowCalcDate()) Link to comment Share on other sites More sharing options...
ZibbZ Posted August 23, 2005 Author Share Posted August 23, 2005 tanx [font="Optima"]ZibbZ[/font] Link to comment Share on other sites More sharing options...
SupraNatural Posted August 23, 2005 Share Posted August 23, 2005 What version of windows are you running? Can't you just set it as a scheduled task? When it asks you what program to run just go to browse and find the pic. Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it! Link to comment Share on other sites More sharing options...
B3TA_SCR1PT3R Posted August 23, 2005 Share Posted August 23, 2005 What version of windows are you running? Can't you just set it as a scheduled task? When it asks you what program to run just go to browse and find the pic.<{POST_SNAPBACK}>no you cant just do that because making a program is way more fun/better jeezum freakin crow [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right] Link to comment Share on other sites More sharing options...
layer Posted August 23, 2005 Share Posted August 23, 2005 SoundPlay plays the sound fool ! SoundSetWaveVolume obviously... Sets the volume. FootbaG Link to comment Share on other sites More sharing options...
SupraNatural Posted August 23, 2005 Share Posted August 23, 2005 (edited) no you cant just do that because making a program is way more fun/better jeezum freakin crowLoL that is so true.........And to think i wanted to go the easy way This plays at 6 pm OR am so I guess if you want it to run at 6am run the script before bedtime.. just change $time = 6 to whatever number you want for the hour.#include <Date.au3> $time = _DateTimeFormat( _NowCalc(),3) While 1 If $time = 6 Then SoundPlay ( "alarm.wav" ) SoundSetWaveVolume ( 100 ) Endif WEnd Edited August 23, 2005 by SupraNatural Visit http://www.blizzedout.com/forums/register....referrerid=8306 for the top blizzard hacks. WoW, TfT, D2/LOD, CS. You name it we got it! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now