Created
June 5, 2015 18:33
-
-
Save BGMcoder/413a5bbdab8018874cd5 to your computer and use it in GitHub Desktop.
Volume Control hotkeys via ahk
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
;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