Mute system volume based on scheduled events
Oct 02, '09 07:30:06AM
Contributed by: Andrew J Freyer
There are many events that I attend that require a laptop for notes (classes, meetings, lectures, etc.), but I do not always remember to mute system volume. It's certainly rude, but at worst embarrassing, if the computer starts making interrupting sounds during a presentation. So, I have iCal do the remembering for me:
- Open Script Editor and type in this single line: set volume 0.
- Save the script somewhere.
- Open iCal, select the desired "mute" event (or create a new one), and create a new alarm set to run the script you just saved.
Even with iCal closed, the reminder will execute the script before the event. I use this for all my work meetings, classes, and lectures where I use my laptop. I set the alarm for 15 minutes before the event, so even if I'm late, the second I open my laptop, the volume is muted.
[robg adds: An alternative version, gleaned from this previous hint, would be to use set volume with output muted instead of setting the volume to zero. By muting the volume, you can just press the Mute button on the keyboard when the event is over to restore your system to its previously-set volume level (instead of having to increase the volume from zero).]
Comments (12)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20090914163950438