← 返回
开发者工具

Win Mouse Native (Windows)

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.
通过user32.dll实现原生Windows鼠标控制(移动、点击、拖拽)。当用户要求移动鼠标、点击、拖拽或在Windows上自动化指针操作时使用。
lurklight
开发者工具 clawhub v1.0.0 1 版本 98867.9 Key: 无需
★ 5
Stars
📥 6,275
下载
💾 532
安装
1
版本
#latest

概述

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|middle
  • win-mouse down left|right|middle
  • win-mouse up left|right|middle

Return 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

  • Windows only.
  • Uses Win32 SetCursorPos + SendInput via user32.dll.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 10:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,019
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,837