Last active
August 22, 2018 21:16
-
-
Save Kryeker/eeeb18e76c639d13896fed9916a29299 to your computer and use it in GitHub Desktop.
Управление громкостью с помощью мыши
This file contains 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
#InstallMouseHook | |
XButton1:: | |
While GetKeyState("XButton1","P") ;уменьшаем звук пока нажата кнопка мыши | |
{ | |
Send {Volume_Down} | |
Sleep, 100 | |
} | |
Return | |
XButton2:: | |
While GetKeyState("XButton2","P") ;увеличиваем звук пока нажата кнопка мыши | |
{ | |
Send {Volume_Up} | |
Sleep, 100 | |
} | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment