Skip to content

Instantly share code, notes, and snippets.

@31
Created December 20, 2023 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 31/da5bcdfa8da00dc57c6b7621f688fd67 to your computer and use it in GitHub Desktop.
Save 31/da5bcdfa8da00dc57c6b7621f688fd67 to your computer and use it in GitHub Desktop.
Adjust Windows volume by 1 instead of 2, AutoHotkey v2
$Volume_Up::
{
volume := SoundGetVolume()
Send "{Volume_Up}"
SoundSetVolume volume + 1
}
$Volume_Down::
{
volume := SoundGetVolume()
Send "{Volume_Down}"
SoundSetVolume volume - 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment