Faustvii Posted December 14, 2005 Share Posted December 14, 2005 Hey this is my code of the alaram #include <Date.au3> HotKeySet("{ESC}", "Terminate") $Alarmfile = iniread ( "alarmsetup.ini", "Settings", "Alarmsound", "wakeup.mp3" ) $Time1 = iniread ( "alarmsetup.ini", "Settings", "Time", "" ) SoundSetWaveVolume (100) While 1 $time = _NowTime(5) sleep ( 250 ); sleep sleep ( 250 ); sleep sleep ( 250 ); sleep sleep ( 250 ); sleep If $time = $Time1 Then SoundPlay ($Alarmfile, 0) WEnd Heres the ini ;AlarmSound needs to be in same foldor as alarm.exe dont remove the ;Time is the time you want it to alarm [Settings] AlarmSound=wakeup.mp3 Time=21:48:00 i cant get it to work it doesnt start the sound if i use ini read can anyone help? Link to comment Share on other sites More sharing options...
Faustvii Posted December 14, 2005 Author Share Posted December 14, 2005 Yes that did work ty very much 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