m2jean / ToothTray

A tray icon in Windows task bar to quickly connect or disconnect bluetooth audio devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command line version for scripting/macros?

mihalski opened this issue · comments

I've been searching for a way to connect Bluetooth audio devices using macros/scripts and this seems to be by FAR the closest implementation of such a utility. Thank you very much for your contribution!

Is there any chance you would consider adding the ability to connect to a Bluetooth audio device by providing its name (or another applicable identifier) as a command line argument?

Thank you once again for your work.

Hi @mihalski, currently I don't have a plan to add command line support, but if you are able to compile the project, it should be trivial to add a command line interface. Use the BluetoothAudioDeviceEnumerator to get all the connectors, and then you can get their device names or change connection states.

My fork is a CLI version: https://github.com/shunf4/ToothTrayCli