Move pointer by
Moves the mouse pointer by a distance from where it is now.
Move the pointer by dx, dy
Keyboard Maestro: MouseMoveAndClick
Details #
Moves the pointer dx points right and dy points down from its current position. Negative values go left and up. Nothing is clicked. The output holds the new x and y.
Use it to hover, to nudge the pointer off a spot, or to set up a Scroll. To move to a fixed place, use Click with count set to 0 and a position.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
dx | number | Yes | Points to move right. Required. | |
dy | number | Yes | Points to move down. Required. |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Nudge the pointer 50 points right and 20 down (really moves the pointer)
Do
- Move the mouse by (50, 20)
Gotchas #
The pointer stops at the edge of the screen.
Switchboard needs the Accessibility permission to move the pointer.