volumecontrol
This commit is contained in:
parent
f66dbc331c
commit
60546cb945
1 changed files with 20 additions and 0 deletions
20
AHK/volumecontrol.ahk
Normal file
20
AHK/volumecontrol.ahk
Normal 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
|
||||
}
|
Loading…
Reference in a new issue