Skip to content

Instantly share code, notes, and snippets.

@aasmith
Created January 22, 2025 01:54
Show Gist options
  • Save aasmith/899a21a3668a37a3b10052dd046587bc to your computer and use it in GitHub Desktop.
Save aasmith/899a21a3668a37a3b10052dd046587bc to your computer and use it in GitHub Desktop.
Change Windows volume in larger increments using AutoHotKey
#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