Asked on Super User by Mateen Ulhaq, 15 years ago. No reply there for at least a week.
Script to disable audio devices
Is there any way to quickly enable/disable my headphones using a script? Basically, it should 'emulate' this functionality . If you disable the speakers then the users will not be able to hear any kind of sound even when the speakers are plugged in. To accomplish this follow these steps: 1) Open Control Panel (All items view)and double click the Sound icon. 2) In the Sound window you will notice the Speakers and other audio devices connected under Playback tab. 3) Now click on Speakers and then click Properties button as highlighted above. 4) In the Speaker Properties dialog box select Use thi
This question is one of 1 report of the same problem:
Script to disable audio devices
Nobody has answered it yet, here or anywhere.
Related problems
Question by Mateen Ulhaq on Super User, licensed CC BY-SA. We show a short excerpt and link to the original thread as credit.