Disconnect Bluetooth Headphones?

Is there an action that lets you disconnect a bluetooth device &, if so, where do I find it? I can't seem to find anything bluetooth related in the actions area. Help?

Hi @glassich - there isn't a native KM action to do that, but you can use KM to run some AppleScript code to do that.

Here's an example:
KM 0 2021-08-02_17-48-35

and the action:
Execute an AppleScript To Disconnect BT Device.kmactions (1.2 KB)

All you have to do is change the bluetooth device name (circled in red) to whatever it is you want to disconnect.

Hope that helps.

This code (edited slightly) found here bash - Disconnect bluetooth device with script (mac os x) - Stack Overflow

@tiffle Thank you so much! :smiley:

1 Like