Volume Control hotkeys via ahk
This file contains 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
;control your system volume via hotkeys | |
;# is the win key | |
;^ is the control key | |
;sound controls | |
#[::setVolume("-5") ;lower volume by 5% | |
#]::setVolume("+5") ;raise volume by 5% | |
^#[::setVolume("10") ;set volume to minimum | |
^#]::setVolume("80") ;set volume to loud | |
SetVolume(whatvolume){ | |
soundset, %whatvolume%, SPEAKERS | |
soundplay, *-1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment