Created
January 22, 2025 01:54
-
-
Save aasmith/899a21a3668a37a3b10052dd046587bc to your computer and use it in GitHub Desktop.
Change Windows volume in larger increments using AutoHotKey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires AutoHotkey v2.0 | |
; Changes volume up and down by 10% instead of 2% when using volume up/down media keys | |
$Volume_Up:: ; Use $ to prevent an infinite loop because we send the keypress through | |
{ | |
Send "{Volume_Up}" ; Send one keypress through in order to show the volume HUD | |
SoundSetVolume "+8" | |
} | |
$Volume_Down:: | |
{ | |
Send "{Volume_Down}" | |
SoundSetVolume -8 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment