Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Requires AutoHotkey 2.0
- deactivatedTaskbarY := A_ScreenHeight - 2
- WinGetPos(, ¤tTaskbarY,,, "ahk_class Shell_TrayWnd")
- while (currentTaskbarY != deactivatedTaskbarY) ; WaitDeactivate()
- if (currentCursorY >= deactivatedTaskbarY) ; ActionOnHover()
- WinGetPos(, ¤tTaskbarY,, &taskbarHeight, "ahk_class Shell_TrayWnd")
- if (currentTaskbarY != (A_ScreenHeight - taskbarHeight))
- WinActivate()
- WinWaitNotActive()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement