AppMute toggles the sound of the active app when F1 is pressed. If the desktop or taskbar is active, all sound is toggled.
FINISED: Muting focused program with a key pressIt's a very quick hack, it uses the volume mixer in Windows 10.
Save the script as AppMute.ahk.
Download and Install
AutoHotkey to run the script.
Skrommel
24.07.2017: Keeps SndVol.exe running to prevent fullscreen windows from restoring. Added menu option to show the volume mixer.
24.07.2017: Added user defined hotkey option.
25.07.2017: Removed the tooltip to prevent fullscreen windows from restoring.
30.07.2017: Changed the way SndVol.exe is handled, to stop it from showing up in Win7.