nircmd - Is there any way to detect disconnected audio devices with Autohotkey? -
i have script switches between available audio devices (windows 10) on key press. couldnt find how determine if audio device connected, in example
each time press designated key cycles through these 3 devices (speakers, tv , headphones), however, want skip disconnected devices (in screenshot it's tv)
any idea how create condition checking if device disconnected?
i using
run, d:\apps\autohotkey\nircmdc.exe setdefaultsounddevice tv,,hide command switch default audio device, dont know how detect if disconnected.

Comments
Post a Comment