Instantly share code, notes, and snippets.

Embed
What would you like to do?
Volume Control hotkeys via ahk
;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