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.
- Installation
- Customize Hotkey
- Adding Exclusions
- Running the Script at Startup
- Updating
- Aditional Keybinds
- License
- Acknowledgments
Follow these steps to set up the script:
-
Download MuteActiveWindow and extract it
-
Install
AutoHotkey V1
from here -
Start
MuteActiveWindow.ahk
-
if you downloaded
NO-EXE
version 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 + P
and click YES when prompt opens.
- Run
AutoEnableStartup.bat
located 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 + R
to open the Run dialog. -
Type
shell:startup
and press Enter. This will open the Startup folder for the current user. -
Create a shortcut to the
MuteActiveWindow.ahk
script 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
1
to0
. - 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
0
to1
- Reload the script and if beta update is available prompt to update will be displayed.
CTRL + ALT + P
Opens prompt to add current program to exclusions list.CTRL + ALT + O
Re-opens script with admin privileges.
This project is licensed under the GNU General Public License version 3 (GPL-3.0).