AppleScript to change Sound preferences - Mac OS X Hints
▻http://hints.macworld.com/article.php?story=20130228082330812
One capability that is not available in Control Plane is the ability to change Sound preferences when you move your Mac from one place to another. I wanted to be able to change the Sound preferences back and forth using Control Plane.
Control Plane does offer the capability, however, to run any application when it detects that have arrived at or have left a particular location. So, you can run any AppleScript.