Re: Help, I need a simple timer to beep every 20 minutes
Anybody else is wondering here is a simple one paste in notepad and rename timer.vbs and it will go off every 15 minutes.
-------------------------------- cut below --------
'************************************************* **************
'timer.vbs
'wscript.exe has to be terminiated to stop this
' the sleep is in milliseconds, 1 min =60000
For x=1 to 10000 ' Just do over and over
Set oShell = CreateObject("Wscript.Shell")
sWaveFile = "%windir%\media\Windows XP Startup.wav"
oShell.Run "sndrec32 /play /close """ & sWaveFile & """",0,True
WScript.Sleep 15*1000*60
Next
'************************************************* **************
|