How to Use: Press and hold Ctrl then press [ to decrease volume and/or ] to increase.
Code:
; Volume Control
#MaxThreadsPerHotkey 2
#MaxThreadsBuffer On
^[::
^]::
volctrl:
IfWinNotExist, Volume Mixer
Run sndvol.exe
IfWinNotActive, Volume Mixer
WinActivate, Volume Mixer
Hotkey, ^[, voldown
Hotkey, ^], volup
KeyWait, Control
Sleep 400
WinClose Volume Mixer
Hotkey, ^[, volctrl
Hotkey, ^], volctrl
return
voldown:
Send {Volume_down}
SoundPlay, *-1
return
volup:
Send {Volume_up}
SoundPlay, *-1
return
#MaxThreadsBuffer Off
#MaxThreadsPerHotkey 1