How to Use Automator to change a system preference
I have a bluetooth device that streams sound from various sources to my hearing aids. Every time my iMac (Mavericks), boots-up, the device pairs with "Sound" preferences "Input" and establishes itself as the default input. I have found that this occurs whether or not the device is turned on. I never intend for the device to pair with my desktop. Therefore, my current solution is to open System Preferences, then select "Sound," then "Input," then "internal Microphone."
I would like to use Automator to set the sound preference when the system boots - or, next best, when Safari opens - or at least a one-click process in the dock. TIA
iMac (27-inch, Late 2012), OS X Mavericks (10.9)