I found a tutorial for using Task Scheduler to use VLC on my computer as an alarm clock. Essentially, it works as follows:
- Computer boots automatically in the morning 5 minutes before alarm time
- Use
nircmdto set system volume to 50% (nircmd setsysvolume 32768) - Call VLC to play my audio file (
vlc C:\path\alarm.ogg)
This works well, but there are two problems. First, if I'm up in time, the only way to stop the alarm is to shut down the computer (since the task runs whether I'm logged in or not, I have to shut it all the way down). Second, the file only plays one time, it doesn't continue.
I know VLC has a -L flag to specify to loop the file repeatedly, but this still leaves the first problem. I like this general solution because it doesn't require additional software to be installed; it utilizes VLC which I have installed anyway.
Is there a better way to handle an alarm on my computer? I'm on Windows 8.1 Pro.