glass_scroll
Aim the wheel at a specific window region to scroll that pane by horizontal or vertical notches, holding optional Ctrl/Shift modifiers for range or multi-select.
Instructions
Scroll at window-relative coordinates by (dx,dy) wheel steps. Optional modifiers held during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select. If at least two next actions or waits are known, use glass_do instead of separate calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Pointer x the wheel is aimed at, window-relative — apps scroll the container under this point, so it selects which pane moves. | |
| y | Yes | Pointer y the wheel is aimed at, window-relative. See `x`. | |
| dx | No | Horizontal wheel notches from -100 through 100, not pixels. Positive is right and negative is left, repeated `|dx|` times. Typical values are 1–5. | |
| dy | No | Vertical wheel notches from -100 through 100, not pixels. Positive is down and negative is up, repeated `|dy|` times. Typical values are 1–5. Apps choose how a notch maps to lines, pixels, or zoom. | |
| modifiers | No | Modifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select. |