I switch back and forth between my headphones and computer speakers at work a lot. So I decided it was time to figure out a hotkey to do this. My coworker told me about a program called AutoHotkey, and combined with a small file it does everything I want it to. In this example below I am using F6 to switch to my computers and F7 to switch to my Logitech headphones. Also, I am running Windows 7 x64. The following tutorial should work fine on Windows 7 x32 and Windows 7 x64.
Audio Devices Hotkey
Download and install AutoHotkey. (download link)
During the installation, there is a x32 and x64 bit version. In this example, I am using the x64 bit version. The x32 should work fine as well. The new few screens just accept the default and click Next.
Before launching the program you will need to download our customized AutoHotkey file. Right click and choose “Save Link As” on this file: AutoHotkey.ahk. Save the file in the root of your “My Document” folder. This is where AutoHotkey will look when it launches.
You can also copy the contents of the .ahk file below:
Now you need to find what order your audio devices are in. On the bottom right of your taskbar, right click on the speaker icon and click “Playback devices.”
You need to make a note of which order they are in before we go edit the AutoHotkey.ahk file. Notice that in my example, my computer speakers are 3 down from the top and my Logitech headphones are 4 down from the top.
Now go and open the AutoHotkey.ahk file, that is in your My Documents folder, with Notepad. You will notice I set the down number in the file to match the order of my audio device. Also, you can change the function key to something else if you like.
Now launch AutoHotkey from your program files, and it will run on your taskbar.
I recommend reloading the script. Right click on AutoHotKey running in your taskbar and select “Reload this script.”
Now you can test your hotkey by pressing your function keys. If you have everything setup correctly this will now toggle between your audio devices with one press of a button!
French noob also recommended this software. We tried it and it also works great! http://soundswitch.codeplex.com/
Incoming search terms:
- windows 8 switch audio device
- windows 8 audio switcher
- audio switcher key
- set hotkey for changing audio devices
- windows 8 1 audio device switcher