NIRCMD program muting

Ballance1032

Commendable
Feb 3, 2017
1
0
1,510
Hi, I have been using NIRCMD to set up macros on my razer keyboard to mute and unmute chrome and the xbox app using this line of code to unmute C:\Windows\nircmd.exe nircmd muteappvolume chrome.exe 0 and this to mute C:\Windows\nircmd.exe nircmd muteappvolume chrome.exe 1. I was wondering if anyone knows how to make it so one key will do both so it toggle mute and unmute. Thanks!
 

LyteSwytchGaming

Prominent
Jul 2, 2017
1
0
510
yes, use the number 2 instead of 1 or 0 . I recently found a program called Volume2 that will work even better than trying to figure out the scripting. I use it for muting PUBG while in the lobby when everyone is shooting guns and what not as it interferes with my Stream. Cheers!