Skip to main content

Mouse scroll

Scroll the mouse wheel up, down, left or right, optionally over a chosen point or window.

Command in the Mouse and keyboard toolkit · id ooa.desktop/mouse_scroll · 9 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
AmountNumberYesWheel notches; negative scrolls up (or left) when direction is empty.
DirectionStringNoScroll direction; when empty the sign of amount decides (positive scrolls down). Left and right hold SHIFT while scrolling.
XNumberNoMove the pointer here before scrolling (with y).
YNumberNoVertical position to scroll at (with x).
Relative toStringNoscreenscreen: x and y are measured from the top-left of the screen; window: from the top-left of the chosen window.
WindowStringNoWindow to bring to the front first: text in its title, a pattern with * or ?, or re:regex. Empty uses the window that is in front.
Delay (milliseconds)NumberNo0Pause between notches; 0 scrolls all notches at once.
Window widthNumberNoOuter width the window is given first, in pixels (with window_height), so a point measured from its corner lands where it was taken; Pick on screen fills it in.
Window heightNumberNoOuter height the window is given first, in pixels (with window_width).