volumecontrol

This commit is contained in:
Ethan Dalool 2017-07-23 10:52:21 -07:00
parent f66dbc331c
commit 60546cb945

20
AHK/volumecontrol.ahk Normal file
View file

@ -0,0 +1,20 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; Alt-F11, Alt-F12 = sound down and up
!F11::
{
SoundSet -5
return
}
!F12::
{
SoundSet +5
SoundGet, sound_mute, Master, mute
if sound_mute = On
{
SoundSet, +1, , mute
}
return
}