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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Amount | Number | Yes | Wheel notches; negative scrolls up (or left) when direction is empty. | |
| Direction | String | No | Scroll direction; when empty the sign of amount decides (positive scrolls down). Left and right hold SHIFT while scrolling. | |
| X | Number | No | Move the pointer here before scrolling (with y). | |
| Y | Number | No | Vertical position to scroll at (with x). | |
| Relative to | String | No | screen | screen: x and y are measured from the top-left of the screen; window: from the top-left of the chosen window. |
| Window | String | No | Window 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) | Number | No | 0 | Pause between notches; 0 scrolls all notches at once. |
| Window width | Number | No | Outer 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 height | Number | No | Outer height the window is given first, in pixels (with window_width). |