Scroll between desktops hovering taskbar W11

 avatar
user_3903098
autohotkey
2 years ago
350 B
4
Indexable
#If MouseIsInBottomPanelArea() and not WinActive("ahk_class TscShellContainerClass")
   WheelUp::Send ^#{Left}
   WheelDown::Send ^#{Right}
   MButton::Send #{Tab}
#If

MouseIsInBottomPanelArea()
{  
   CoordMode, Mouse, Screen
   MouseGetPos, xpos, ypos
   if (ypos > A_ScreenHeight-60 and xpos <= A_ScreenWidth)
	   Return 1
   else
	   Return 0
}
Editor is loading...
Leave a Comment