- Clone or download this repo
- Install BluetoothCLTools (say yes when asked to add tools dir to path) Direct download
- Run
btdiscovery
in command line to get your headphones MAC address - Paste the MAC address into first line of mac.txt file and save
Now you can double-click connect.vbs
or disconnect.vbs
to connect/disconnect your BT headphones.
Well, you can bind the script to some media keyboard button or use Autohotkey to do some fancy shortcut.
The simplest option (that I'm using) is binding the toggle.vbs
script to some media key using this method
Win10 automatically disconnects BT device after all services the device offers are disabled.
This script simply disables services offered by selected BT device.
Same same on connect.
Check if your headphones offer more BT services than:
- Hands-Free Profile (111E)
- A2DP AudioSink (110B)
If so, add them to connect.bat
and disconnect.bat
files.
The list of services can be found here.