glass_scroll
Scroll window at specified coordinates by discrete wheel notches horizontally and vertically. Supports modifier keys like Ctrl or Shift for 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| dx | No | Horizontal scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT pixels). Positive `dx` sends wheel-right, negative wheel-left; glass clicks `|dx|` times. | |
| dy | No | Vertical scroll in **wheel notches** (discrete clicks — small integers like 1–5, NOT pixels). Positive `dy` sends wheel-down, negative wheel-up; glass clicks `|dy|` times. How an app maps a wheel notch to its view (lines, pixels, zoom) is the app's choice. | |
| modifiers | No | Modifier keys to hold during the action, e.g. ["ctrl"] or ["ctrl","shift"] for multi/range-select. |