← 返回
未分类 中文

mouse-keyboard

Control mouse and keyboard on Mac using cliclick. Use when you need to automate clicking, typing, or controlling the mouse cursor.
使用 cliclick 在 Mac 上控制鼠标和键盘,适用于自动化点击、键入或控制光标。
calvin-dean calvin-dean 来源
未分类 clawhub v1.0.0 1 版本 99800.2 Key: 无需
★ 0
Stars
📥 999
下载
💾 17
安装
1
版本
#latest

概述

Mouse & Keyboard Control

Use cliclick tool for mouse/keyboard automation on Mac.

Tools

exec

Use exec to run cliclick commands.

Available Commands

  • c:X,Y - Click at coordinates X,Y
  • c:~100,~200 - Click at relative position
  • w:500 - Wait 500ms
  • t:hello - Type "hello"
  • kd:cmd - Key down command
  • ku:cmd - Key up command
  • p:return - Press return/enter
  • p:space - Press space
  • p:tab - Press tab
  • m:X,Y - Move mouse to X,Y
  • dp - Double click
  • rc:X,Y - Right click at X,Y

Common Workflows

Click at position

cliclick c:500,300

Type text

cliclick t:Hello World

Click and type

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

Keyboard shortcut

cliclick kd:cmd ku:cmd  # Press cmd

Move and click

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

Getting Coordinates

Use cliclick p to print current mouse position, or use macOS screenshot tool (Shift+Cmd+4) to get coordinates.

Notes

  • Coordinates are screen-based (0,0 is top-left)
  • Use osascript for more complex keyboard operations
  • Combine with sleep for timing

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 12:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

微信Mac版消息发送

calvin-dean
在微信 Mac 版发送消息,用户提到「微信发消息」「发微信」「给 XXX 发微信」时触发。
★ 0 📥 456
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 327,225
dev-programming

CodeConductor.ai

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