Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: hotkey to disable an audio device of choice

02 Jan 2014   #1
fohrums

Windows 7 x64
 
 
hotkey to disable an audio device of choice

How would I add a hotkey to toggle on/off an audio device of choice in Windows 7 x64?

Here is an image of Windows 7 sound dialog window > playback tab to audio devices.

reason being: skype doesn't have a default audio device as an option so I switch between headphone (reciever) to speaker (PC creative sound card) with a hotkey I defined already using NirCmd. problem is skype doesn't switch along with it. my method is to disable an audio device so that way the next one is effective in skype. complicated but it's the best and only way I can think of without making it TOO complicated as it is already.





My System SpecsSystem Spec
.
02 Jan 2014   #2
Ztruker

Windows 10 Pro X64
 
 

When I plug headphones in, the speaker is cut off. I have not tried this with Skype but will as soon as I can.
My System SpecsSystem Spec
02 Jan 2014   #3
fohrums

Windows 7 x64
 
 

By default the way skype would be designed along with windows 7 architecture (i'm really dumbing this down ) ofcourse plugging it in would then use the headphones and speakers are cut off.

I use two seperate/different outputs. As I mentioned an external reciever for my headphones and my desktop speakers are connected via creative sound card which I have installed PCI-E. so a lot of manual work is needed to necessarily transition that sound without any interference.
My System SpecsSystem Spec
.

02 Jan 2014   #4
Ztruker

Windows 10 Pro X64
 
 

All I can suggest then is to use a program like regmon to see what is being changed in the registry when you disable/enable, then write a small batch file to make the necessary registry changes as needed, one to disable and one to enable.
My System SpecsSystem Spec
03 Jan 2014   #5
fohrums

Windows 7 x64
 
 

Quote   Quote: Originally Posted by Ztruker View Post
All I can suggest then is to use a program like regmon to see what is being changed in the registry when you disable/enable, then write a small batch file to make the necessary registry changes as needed, one to disable and one to enable.
It's no longer available and been replaced by "ProcessMonitor" I don't know how to use it to get the registry keys needed. Perhaps show me some example on how to use it or if possible find it out?
My System SpecsSystem Spec
03 Jan 2014   #6
margrave

Size 12
 
 

I use Audio Switcher. There's no hot key. But it sits in the tray and lets you click-choose from the available audio devices.
My System SpecsSystem Spec
03 Jan 2014   #7
fohrums

Windows 7 x64
 
 

I figured out how to focus on a window's processes by using the crosshair tool (8th from the left of toolbar). Simply drag it to the window you want to focus on.



PROBLEM IS: I can't figure out how to put this into action or so you said "batch file" to have this be applied to a hotkey via shortcut.

So basically by right clicking on an audio device these are the registry keys in use:



when I make the action to "disable" these are these are the registry keys in use:

My System SpecsSystem Spec
03 Jan 2014   #8
fohrums

Windows 7 x64
 
 

Quote   Quote: Originally Posted by margrave View Post
I use Audio Switcher. There's no hot key. But it sits in the tray and lets you click-choose from the available audio devices.
Yes, "choose" is already what I've mentioned binded to a hotkey with NirCmd. I specifically and only want a hotkey to "Disable"

Using audio switcher just adds to the ram as it's necessarily running in the background for a quick task that I don't find myself switching that much too often.

atleast with batch files it's there until you run it not using any resources in the meantime what so ever.
My System SpecsSystem Spec
03 Jan 2014   #9
Ztruker

Windows 10 Pro X64
 
 

You would have to write the batch file to apply the registry changes, then setup a hotkey to invoke the batch file.

The Open and Set registry actions indicate the key you need to modify. After disabling, go into regedit and export that key. Do it again after you enable it again.

That should give you the registry changes you need to apply.
My System SpecsSystem Spec
03 Jan 2014   #10
N00berG00ber

Windows 10 Pro
 
 

My System SpecsSystem Spec
Reply

 hotkey to disable an audio device of choice




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How to toggle between default sound device using hotkey
Edit: See second post. Found script for AutoHotKey but not sure how to compile or use it ? Also when ever I plug a USB device in it changes default sound device from Line 1 to SRS.. I usually plug my Smartphone on for charge every day using USB so it gets annoying. I'm using two audio...
Sound & Audio
Shortcut or Hotkey to quickly disable or enable folder options
anyway to do this? shortcut, hotkey? http://i1263.photobucket.com/albums/ii636/TheDarkAvenger85/Forums/folder_options.png
General Discussion
Disable / rebind Win+X hotkey?
It it possible to disable Win+X hotkey without disabling the Mobility Center itself? Or, better yet, use some other hotkey for mobility center (which, though, is probably simple) and bind some other hotkey to Win+X? I have...
Customization
Hotkey to disable additional screens?
I have 2 screens, one large one for most my work, with a smaller one for when I am working with files and need to be changing windows a lot, it gives me somewhere to put them. However with my current graphics card, rendering 2 screens at once causes a notable fps drop when one screen is displaying...
Software
Audio device disable on every windows start up..!
Hi guys.. hope you all will be fine.. guys today I m seen a new kind of problem in win seven. every time when windows seven starts, the audio device is disable and the speaker Icon is marked with red cross.. and when I single left click on speaker icon, a diagnostics windows appear and...
Hardware & Devices
Audio card choice
Have just done my first build - SN i5 2500 on Gigabyte H67 UD3H board and jsut want to do a little experimenting with an audio card - nothing flash but quality. Have picked out two locally and wondered what others might think of these. Auzentech X-Raider 7.1 ASUS Xonar DG there is a...
Sound & Audio


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App