返回顶部
m

mouse-keyboard鼠标键盘控制

Control mouse and keyboard on Mac using cliclick. Use when you need to automate clicking, typing, or controlling the mouse cursor.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
463
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

mouse-keyboard

鼠标与键盘控制

使用 cliclick 工具在 Mac 上实现鼠标/键盘自动化。

工具

exec

使用 exec 运行 cliclick 命令。

可用命令

  • - c:X,Y - 在坐标 X,Y 处点击
  • c:~100,~200 - 在相对位置点击
  • w:500 - 等待 500 毫秒
  • t:hello - 输入hello
  • kd:cmd - 按下 Command 键
  • ku:cmd - 松开 Command 键
  • p:return - 按下回车键
  • p:space - 按下空格键
  • p:tab - 按下 Tab 键
  • m:X,Y - 移动鼠标到 X,Y
  • dp - 双击
  • rc:X,Y - 在 X,Y 处右键点击

常见工作流程

在指定位置点击

bash cliclick c:500,300

输入文本

bash cliclick t:Hello World

点击并输入

bash cliclick c:500,300 && cliclick t:username

键盘快捷键

bash cliclick kd:cmd ku:cmd # 按下 Command 键

移动并点击

bash cliclick m:100,100 && cliclick c:100,100

获取坐标

使用 cliclick p 打印当前鼠标位置,或使用 macOS 截图工具(Shift+Cmd+4)获取坐标。

注意事项

  • - 坐标基于屏幕(0,0 为左上角)
  • 对于更复杂的键盘操作,使用 osascript
  • 结合 sleep 进行时间控制

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mouse-keyboard-1776097096 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 mouse-keyboard-1776097096 技能

通过命令行安装

skillhub install mouse-keyboard-1776097096

下载

⬇ 下载 mouse-keyboard v1.0.0(免费)

文件大小: 1.24 KB | 发布时间: 2026-4-14 13:57

v1.0.0 最新 2026-4-14 13:57
Initial release — automate Mac mouse and keyboard using cliclick.

- Enables click, double-click, right-click, type, key down/up, and key press actions at specified coordinates.
- Supports both absolute and relative positions for mouse actions.
- Provides tools to execute custom cliclick command sequences and combine actions (e.g. click + type).
- Includes usage instructions, common workflows, and tips for obtaining screen coordinates.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部