noobstandard.blogg.se

How to assign hotkey to switch from headphones to speakers
How to assign hotkey to switch from headphones to speakers







how to assign hotkey to switch from headphones to speakers
  1. HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS HOW TO
  2. HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS .EXE
  3. HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS INSTALL
  4. HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS PLUS

In my case, that would be “nircmd.exe setdefaultsounddevice Speakers.” Set a second hotkey that makes sense in context-mine would be Ctrl+Alt+F2. Now go back to the start of this section and create another NirCmd shortcut, this time using the sound name of your second device. Audioswitch app does help with it, but only if you're not using many shortcuts/keys already.

how to assign hotkey to switch from headphones to speakers

Return to the desktop and rename your shortcut something appropriate, like “Headset command.” Step Five: More Audio Devices Unconnecting headset does not work, only unplugging USB wireless receiver makes Windows automatically switch back stationary speakers. Test the hotkey and you’ll see the default device change over in the Sound menu (if it’s not set to that device already). Now the shortcut and the hotkey are functioning. Simply click the Shortcut key field and enter your command. For the purposes of the demonstration, let’s go with Ctrl+Alt+F1. Now in the same Properties screen, we can assign a hotkey to the shortcut.

HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS .EXE

exe file in the C:\Users\aggie\Desktop\nircmd-圆4\nircmd.exe folder and my first device named “Headset,” the full shortcut and modifier command needs to be: C:\Users\aggie\Desktop\nircmd-圆4\nircmd.exe setdefaultsounddevice Headset The syntax you want is: setdefaultsounddevice "your sound device name" exe file name with the command for your sound device. Wherever the NirCmd application is, you’ll append its. Open up the Sound menu on the Playback tab (see above) to get the name of the device you’ll need. Right-click the new shortcut and click “Properties.” Now we’re going to append the shortcut with a command for the NirCmd application that tells it to assign one of your sound devices to the default. In the new NirCmd folder, right-click the nircmd.exe application and then click Send To > Desktop (create shortcut). Extract the NirCmd folder somewhere easy to access-put it on the desktop if you’re just testing this method.

HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS INSTALL

NirCmd is a portable app, so you don’t have to install it, you just have to store the folder somewhere safe. Everything is controlled with syntax and expressions, which can be a bit unwieldy, but NirCmd opens up a lot more customization options than SoundSwitch. NirCmd is a freeware tool that allows users to create shortcuts to a lot of common Windows functions, like turning off the monitors or adjusting the volume. You can set up a separate hotkey in the Recording tab if you have multiple sound inputs as well.Īlternate Method: Set Up Multiple Hotkeys With NirCmd Now whenever you press your hotkey, you’ll toggle through your sound outputs (or cycle them if you have more than two). To change over to the Logitech headset, right-click on it, then click “set as default device.” This will make the headset the default for both sound output and communication. The Realtek speakers are currently outputting system sounds since they’re set to default. The green checkmark indicates that the Realtek speakers are my current output device, while the Logitech gets a green phone icon because it’s the default communication device. In the image below, you can see my main desktop speakers on the built-in Realtek sound card, and my USB-based Logitech headset.

HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS PLUS

Here you’ll see a list of all your available sound outputs-desktop PCs probably have a few, laptop PCs generally have only one, plus any extra sound devices added via USB. This brings you to the Sound menu with the Playback tab highlighted. From the Windows 7, 8, or 10 desktop, right-click the volume button in the taskbar, then click “playback devices.” If you’re in Tablet Mode, go to the main “Settings” menu, then search for “Sound” and click the result with the speaker icon.

HOW TO ASSIGN HOTKEY TO SWITCH FROM HEADPHONES TO SPEAKERS HOW TO

The Old-Fashioned Wayīefore you try to switch sound output the easy way, you need to know how to do it the hard way, if only to familiarize yourself with how Windows structures its sound options. Despite the fact that most desktop PCs come with multiple sound output options (standard stereo, surround, front and rear, and so on), it’s still a pain to actually switch between them. Handling its sound devices is not one of them. Nircmd was the recommended solution and I found some sample scripts that people suggested.Windows is great at a lot of things. I was looking for a way to set up a hotkey to switch between headphones and speakers and that's how I discovered AHK.









How to assign hotkey to switch from headphones to speakers