C++ version of MuteActiveWindow is now available at tfourj/MuteActiveWindowC
MuteActiveWindow is an AutoHotkey script that allows you to mute the currently active window using a custom hotkey. F1 by default!
This script was inspired by kristoffer-tvera/mute-current-application but was rewritten for svcl and later custom open source solution MAW-MUTER because the previous version didn't work for me with the majority of UWP and some other apps, but I have published a fix that also fixes compatibility with UWP apps for kristoffer's script so feel free to use any of scripts.
Follow these steps to set up the script:
-
Download MuteActiveWindow and extract it
-
Install
AutoHotkey V1from here -
Start
MuteActiveWindow.ahk -
if you downloaded
NO-EXEversion also download muting method of your choice:
- MAW-MUTER.ahk (recommended and fastest)
- MAW-MUTER.exe
- SVCL
Change the hotkey by editing the Hotkey.txt file (located in the /Config/Hotkey.txt directory) and replacing its contents with your desired hotkey (e.g., F10).
You can configure the script to exclude specific applications from being muted. Exclusions are useful if you want to prevent certain apps from being affected by the script. Here's how you can add exclusions:
-
Have app that you want to mute opened and focused.
-
Then press
ALTGR + ALT + Pand click YES when prompt opens.
- Run
AutoEnableStartup.batlocated in the script directory. This batch file will automatically move the required files to the Startup folder for you.
Now, the script will run automatically each time you start Windows without the need for manual intervention.
-
Press
Win + Rto open the Run dialog. -
Type
shell:startupand press Enter. This will open the Startup folder for the current user. -
Create a shortcut to the
MuteActiveWindow.ahkscript in this folder. You can do this by right-clicking the script file and selecting"Create shortcut"and then moving the shortcut to the Startup folder.
Now, the script will run automatically each time you start Windows.
The script will automatically check for updates on startup by default.
If you wish to disable this behaviour then:
- Open
Config/AutoUpdateCheck.txt. - Change first line from
1to0. - Reload the script to apply changes.
- Right click on MuteActiveWindow icon in taskbar
- When menu displays click on
Check for updates
- Open
Config/EnableBetaUpdates.txt. - Change first line from
0to1 - Reload the script and if beta update is available prompt to update will be displayed.
These have to be enabled in Config.ini with EnableAditionalKeybinds=1 in order to work
CTRL + SHIFT + POpens prompt to add current program to exclusions list.CTRL + SHIFT + ORe-opens script with admin privileges.
This project is licensed under the GNU General Public License version 3 (GPL-3.0).
