Sign in to follow this  
Followers 0
ZibbZ

Help

7 posts in this topic

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]

Share this post


Link to post
Share on other sites



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())

Share this post


Link to post
Share on other sites

tanx


[font="Optima"]ZibbZ[/font]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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 :whistle:

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Share this post


Link to post
Share on other sites

SoundPlay plays the sound fool ! :whistle: SoundSetWaveVolume obviously... Sets the volume.


FootbaG

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

no you cant just do that because making a program is way more fun/better jeezum freakin crow

LoL that is so true.........And to think i wanted to go the easy way :whistle:

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 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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0