I have two sound cards.. that i frequently need to switch between. I used to have a button that would open the 'playback devices' panel so i could change the default sound card.
I can't remember or find the windows 7 command exe for this window. I wonder if anyone could help?
Ideally i'd like to have a toggle button that would switch the default playback sound card... such a button would be a god send to me. Any ideas if it is possible?
I have found this nice little tool.. which certainly helps. (should have done some more searching b4 posting!)
addictivetips.com/windows-ti ... nd-switch/
Still be nice to have a toggle button in opus.. can't think of a way to do that though.
That tool has command line support so you should be able to make an Opus button out of it.
Considering how OD seems to do just about do anything I wonder if it can do this.
I have 2 sound cards one for headphones and the other through an amp & speakers. I end up switching between the two a lot. Doing this is a several click/step process . I'd love to be able to do it with a button in Opus.
Is this possible? Anyone have any idea how to achieve this? My coding level is ctrl C & ctrl V.. but i'm a trier!
Thanks for any help.
You might be able to do it via scripting, if Windows has a scriptable API for doing it (I'm not sure).
Failing that, a button which runs the tool you found a couple of years ago, or a similar tool, should still work.
[link above now goes to the thread you're already reading, as the two were merged]
Thanks leo, that tool never worked for me. Might have another look at it though. Thanks for the reminded!
I use NirCmd (http://www.nirsoft.net/utils/nircmd.html) with the setdefaultsounddevice parameter (http://nircmd.nirsoft.net/setdefaultsounddevice.html to switch between built in speakers and the HDMI output on my laptop. You'll need to put NirCmd.exe somewhere and point your button at it but it doesn't require installation and can be run from anywhere.
This is the button code I use (Standard Function (Opus or external)):
D:\Tools\nircmd-x64\nircmd.exe setdefaultsounddevice "Speakers"
D:\Tools\nircmd-x64\nircmd.exe setdefaultsounddevice "Digital Audio (HDMI)"
The parameters 'Speakers' and 'Digital Audio (HDMI)' are your devices as listed under the Sound Control Panel.
Just looked at my code above and I've no idea why I have the first line in there as it isn't needed (and is not even relevant to the task at hand).
[The stray set Sounds=Toggle line in the earlier post has been edited out now.]