Created
March 21, 2024 11:36
-
-
Save JoeGlines/083809006b258cf80f62e7362f9ff32c 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
; Want a clear path for learning AutoHotkey? Go to https://the-Automator.com/Learn | |
; https://www.autohotkey.com/docs/v2/lib/_HotIf.htm | |
#SingleInstance | |
#Requires Autohotkey v2.0+ | |
#HotIf 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