π¦ ClawHub
Win Mouse Native (Windows)
by @lurklight
Native Windows mouse control (move, click, drag) via user32.dll. Use when the user asks you to move the mouse, click, drag, or automate pointer actions on Windows.
TERMINAL
clawhub install win-mouse-nativeπ About This Skill
name: win-mouse-native description: Native Windows mouse control (move, click, drag) via user32.dll. Use when the user asks you to move the mouse, click, drag, or automate pointer actions on Windows.
Win Mouse Native
Provide deterministic mouse control on Windows.
Commands (local)
This ClawHub bundle is docs + scripts-as-text (ClawHub validates βtext files onlyβ).
To install:
1) Save win-mouse.cmd.txt as win-mouse.cmd
2) Save scripts/win-mouse.ps1.txt as scripts/win-mouse.ps1
Then run:
win-mouse move (relative)win-mouse abs (absolute screen coords)win-mouse click left|right|middlewin-mouse down left|right|middlewin-mouse up left|right|middleReturn value: prints a one-line JSON object.
OpenClaw usage
When the user asks to move/click the mouse:
1) If the user didnβt give coordinates/deltas, ask.
2) Use exec to run win-mouse ....
3) Prefer small, reversible actions first (tiny move, single click) when unsure.
Notes
SetCursorPos + SendInput via user32.dll.π Tips & Best Practices
SetCursorPos + SendInput via user32.dll.