Your laptop just makes the familiar “oh-oh” sound. You know you have an instant message in ICQ.
The problem is, it’s 5:30 in the morning right now… Indeed you forgot to turn off your speaker the night before.
It doesn’t have to be like this.
The one last time this happened to me, I decided to fix this problem once and for all. So I wrote a command line utility that lets me mute and un-mute my computer speaker. Couple this with the Task Scheduler in Windows, my laptop knows when to keep quiet.
Usage: cmdmute [0|1]
0 - Mute OFF
1 - Mute ON
Toggle if no argument is given.
Update on 2007-01-30: Source posted. Compile it with
cl cmdmute.cpp winmm.lib
Update on 2008-11-11: I use this only on Windows XP and I don’t have Vista for testing.
Update on 2008-12-23: I heard that nircmd works on Windows Vista.