Created
August 2, 2011 00:39
-
-
Save dacap/1119346 to your computer and use it in GitHub Desktop.
Change volume with mouse wheel over task bar
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
#If MouseIsOver("ahk_class Shell_TrayWnd") | |
WheelUp::Send {Volume_Up} | |
WheelDown::Send {Volume_Down} | |
MouseIsOver(WinTitle) { | |
MouseGetPos,,, Win | |
return WinExist(WinTitle . " ahk_id " . Win) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment