Hi All, i have a plantronics bt600 headset which connects to my mac via a permanent usb dongle. Is there a way I can use Keyboard Maestro to detect when this audio device is turned on and then connected to Mac via that dongle? From that point I would then like to set the audio output and input to the headset - but that part seems pretty straightforward - its the initial detection that is the problem
Everything I've seen suggests that the BT600 is the USB dongle, not the headset. Which headset(s) do you have?
You may find that, despite its included instructions, the headset will connect directly to your Mac via Bluetooth -- no dongle required. We find that Bluetooth-paired headsets (Logitech and Jabra in our case) automatically become the default input/output when switched on, neatly solving your problem without the need of a macro.
I managed to find a Jabra dongle and headset this morning. While it isn't the BT600 I suspect it works in the same way.
As far as the OS is concerned, the sound source is the dongle. The dongle sets up its own "private" Bluetooth connection with the headset which the OS knows nothing about. Source selection for the dongle is done via an app.
So unless you can query the app to find out if the headset is turned on and connected (doubtful) there seems to be no way to find out -- not even polling will work, never mind a proper KM trigger.
The closest you'll get is to change your routine so that you unplug the dongle when you turn the headset off and plug it in when you turn the headset on -- then you can use either the "USB device" or "Audio Output Device Changed" triggers. Not a satisfactory way of doing things.
So I hope you can get the headset to work on a direct-to-Mac Bluetooth connection, avoiding the dongle altogether.