Automatically mute sound before meetings

09.10.2009

Save this one as , again with the File Format pop-up menu set to Script.

Once you've saved both scripts, go to iCal, and select one of your recurring events, then press Command-E to edit that event. Add an alarm to the event, and set the pop-up to Run Script. Then click the line below Run Script, and navigate to your saved copy of .

Set the alarm to activate one minute (or more, based on when you arrive for the event) before the event. Add another alarm, but set this one to run the script, at one minute after the event ends.

Repeat this process for each event for which you'd like to mute your Mac's sound, and you'll never have to remember to do it yourself. To further protect yourself, in case you bump one of your keyboard's audio keys, visit the Sound Effects tab of the Sound System Preferences panel, and make sure the Play Feedback When Volume is Changed option is enabled.

These scripts work great if you've got just your one laptop Mac. But what if you own more than one Mac and use MobileMe to sync information between the machines? In that case, the copies of the events on the other Macs will generate errors, because they won't be able to find the alarm scripts. One possible solution is to store the scripts on your iDisk, which should make them accessible to all your Macs (I haven't tested this, though). Another possible solution is to keep your scripts in sync between Macs, using a program like .