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

enter image description here

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

Popular posts from this blog

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -