hotkey to disable an audio device of choice

Page 1 of 2 12 LastLast

  1. Posts : 9
    Windows 7 x64
       #1

    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 Computer


  2. Posts : 6,285
    Windows 10 Pro X64
       #2

    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 Computer


  3. Posts : 9
    Windows 7 x64
    Thread Starter
       #3

    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 Computer


  4. Posts : 6,285
    Windows 10 Pro X64
       #4

    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 Computer


  5. Posts : 9
    Windows 7 x64
    Thread Starter
       #5

    Ztruker said:
    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 Computer


  6. Posts : 318
    Windows 10 x64
       #6

    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 Computer


  7. Posts : 9
    Windows 7 x64
    Thread Starter
       #7

    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:

    Last edited by fohrums; 03 Jan 2014 at 20:23.
      My Computer


  8. Posts : 9
    Windows 7 x64
    Thread Starter
       #8

    margrave said:
    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 Computer


  9. Posts : 6,285
    Windows 10 Pro X64
       #9

    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 Computer


  10. Posts : 1,486
    Windows 10 Pro
       #10
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 22:30.
Find Us