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

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -