百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
C

CrossMacro

> 数据库
开源

具有宏记录、播放、调度、文本扩展、CLI 工具以及对 Wayland/X11 感知的 Linux 支持的跨平台桌面自动化应用程序。

322 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

具有宏记录、播放、调度、文本扩展、CLI 工具以及对 Wayland/X11 感知的 Linux 支持的跨平台桌面自动化应用程序。

CrossMacro

Record once. Refine visually. Automate across supported desktop environments.

CrossMacro is a free, open-source mouse and keyboard automation app for Linux, Windows, and macOS.

Install · First macro · Features · Why CrossMacro · CLI · MCP · Linux guide · Discord

Turn repetitive desktop work into reusable workflows.

Record mouse and keyboard actions, refine them visually, then replay them from the GUI, a hotkey, a schedule, a trigger, the CLI, or a trusted local MCP host.

One open-source automation toolchain for Linux, Windows, and macOS, including Wayland and X11 support, screen-aware workflows, text expansion, profiles, background tasks, structured CLI output, and a policy-capable local MCP server.

Why CrossMacro?

CrossMacro is for people who want desktop automation without stitching together separate recorders, input tools, image matchers, hotkey managers, schedulers, text expanders, and platform-specific scripts.

Start visually: record a real workflow and refine it in the editor. When the job grows, the same automation engine gives you screen-aware actions, variables, loops, conditions, window and clipboard control, background tasks, a structured CLI, and a policy-controlled local MCP server with an optional restricted mode.

  • One workflow across platforms: use a polished GUI and packaged builds on Linux, Windows, and macOS instead of maintaining separate automations for each operating system.
  • Modern Linux support: Wayland and X11 are first-class targets, with native, daemon-backed, direct-device, portal screen-capture, and compositor-provider paths where the desktop exposes them.
  • GUI when you want it, CLI when you need it: record and edit visually, run direct commands or scripts, consume JSON results, or keep automation active in the GUI-less desktop runtime.
  • More than playback: wait for colors, images, or windows inside a workflow; react to process or workspace changes with triggers that run macros or switch profiles.
  • Everything stays connected: files, editor actions, shortcuts, schedules, triggers, text expansion, CLI commands, and MCP tools share the same persisted profiles, settings, macro format, task data, and automation model.

What People Build With It

Use case What CrossMacro adds
Office and data entry Form filling, clipboard transforms, reusable text, and repeatable input sequences
UI testing Recorded actions, controlled timing, screen-state checks, screenshots, and repeatable regression flows
Screen-aware automation Wait for colors, images, or windows; react to process and workspace changes through triggers
Scheduled desktop work Reports, downloads, backups, kiosk routines, and unattended sequences in an active session
Creative and accessibility workflows Precise input timing, reusable profiles, shortcuts, and text expansion
Permitted game workflows Reusable input profiles where the target application's rules and anti-cheat policy allow automation
AI-assisted local workflows Trusted agents can use MCP without CrossMacro opening a network listener

Features

Macro recorder and player

  • Record mouse movement, clicks, button presses/releases, vertical and horizontal scrolling, and raw keyboard events; capture mouse and keyboard independently when a workflow needs only one input source.
  • Replay from 0.1x to 10.0x with pause/resume, countdown, repeat counts, fixed or randomized repeat delays, and cancellation.
  • Choose automatic, absolute, raw-relative, or logical-relative coordinates when supported by the active desktop session.
  • Use precision motion or strict-speed playback with configurable report rates and motion-error limits.
  • Customize the default global controls: F8 record, F9 play, and F10 pause/resume.

Macro editor and workflow building

  • Load, save, rename, select, and replay reusable .macro files with Selected Only, Advance Selection, and Sequential Cycle modes, per-macro repeat counts, and fixed or randomized cycle delays.
  • Edit mouse, keyboard, text, delay, clipboard, shell, screenshot, window, pixel/color, image, variable, loop, and condition actions visually.
  • Hide noisy mouse moves and short waits, simplify movement, multi-select actions, and reorder, duplicate, or delete them with undo/redo, validation, coordinate capture, and image asset import.
  • Build logic with variables, integer arithmetic, repeat, for, while, if, else, break, and continue.
  • Read pixels, wait for colors, search or wait for PNG images, click matches, and capture full-screen or regional screenshots.
  • Validate and test-run an edited workflow directly, then stop it from the editor without saving an intermediate file.

Hotkeys, schedules, triggers, and background automation

  • Bind macros to global keyboard or mouse shortcuts with toggle, repeat, run-while-held, per-task playback speed, randomized delay, and focused-window class/title/process rules using equals, contains, or regex matching.
  • Schedule one-time, fixed/random interval, daily, weekday, weekend, or weekly execution with per-task playback speed plus last-run, next-run, and status tracking.
  • React to window class, title, process, or workspace changes; run a macro or switch profiles with debounce, cooldown, and enter/exit fire modes.
  • Keep global hotkeys, schedules, shortcuts, text expansion, and record/play controls active in the GUI-less desktop runtime.
  • Record, inspect, validate, and play macros; manage settings, profiles, text expansions, schedules, shortcuts, and triggers; and automate input, windows, clipboard, screenshots, and screen searches from the structured CLI/JSON API.

Screen, desktop, and text integration

  • Read and write clipboard text, capture selected text, and use clipboard images where the platform adapter supports them.
  • Query, wait for, focus, close, move, resize, center, maximize, fullscreen, or float windows; inspect and change workspaces on supported backends.
  • Create text expansions with per-entry enable/disable, paste or direct typing, and compatibility controls.
  • Separate work, games, testing, and personal automation into named profiles.
  • Switch isolated automation environments that reload profile-specific settings, hotkeys, shortcuts, schedules, triggers, text expansions, and loaded macro libraries together.
  • Run trusted shell steps with retries, backoff, timeout, stdin, and bounded stdout/stderr capture; Flatpak applies a network-disabled nested sandbox.

Cross-platform application and integrations

  • Native Windows and macOS integrations plus native X11, daemon-backed/direct uinput, Wayland portal screen capture, and compositor-provider paths on Linux.
  • Dedicated GUI pages for Recording, Playback, Files, Text Expansion, Shortcuts, Schedule, Triggers, Editor, and Settings.
  • Tray/start-minimized support where available, with quick show/hide, record/play/stop controls; startup update checks, release notifications, runtime log-level control, built-in/user JSON themes, and nine languages.
  • A policy-controlled local MCP server with optional restricted mode, capability settings, path roots, limits, timeouts, and tools for desktop automation and CrossMacro data.
  • crossmacro doctor --json --verbose reports input, cursor, permission, daemon, session, and available platform-provider diagnostics.

See It In Action

Record and play

Control speed, loops, countdowns, and repeat delays Keep a macro library Load, save, select, sequence, and replay macro files

Expand text anywhere

Create reusable abbreviations with paste or direct typing Launch from shortcuts Bind macros to global keyboard and mouse combinations

Run on a schedule

Choose one-time, interval, daily, or weekly execution React to desktop changes Match windows, processes, or workspaces and run an action

Build smarter workflows

Edit actions, logic, coordinates, images, and timing Make it yours Choose themes, languages, hotkeys, tray, logs, and updates

Your First Macro

  1. Open CrossMacro.
  2. If prompted, complete macOS privacy permissions or Linux Wayland setup.
  3. Press F8 to record, perform a short action, then press F8 again.
  4. Press F9 to replay it. Use F10 to pause or resume playback.
  5. Save the macro, refine it in the editor, or attach it to a shortcut, schedule, or trigger.

F8, F9, and F10 are the default hotkeys and can be changed in settings.

That is enough for your first macro. When you want to validate a workflow from the terminal without sending input:

bash
crossmacro --version
crossmacro --help
crossmacro run --step "delay 50" --dry-run

--dry-run validates supported play/run workflows without input injection or shell execution. The complete command reference, JSON output contract, exit codes, and scripting language are documented in docs/cli.md.

Install

Choose the channel that matches your platform and update preference. If you are not sure which GitHub file to download, use this matrix instead of guessing from the release asset names.

Download every release artifact and SHA256SUMS

Download Matrix

Platform / channel Command or artifact Important note
Store
flatpak install flathub io.github.alper_han.crossmacro Sandboxed install; Wayland may request temporary Quick Setup
Releases
crossmacro-_amd64.deb or _arm64.deb Daemon-backed; re-login or reboot after group changes
Releases
crossmacro--1.x86_64.rpm or .aarch64.rpm Daemon-backed; re-login or reboot after group changes
yay -S crossmacro or paru -S crossmacro Daemon-backed stable channel
yay -S crossmacro-git or paru -S crossmacro-git Tracks successful dev snapshots; replaces/conflicts with stable crossmacro
Releases
CrossMacro--x86_64.AppImage or -aarch64.AppImage Run directly; Wayland may require temporary Quick Setup
services.crossmacro = { enable = true; users = [ "you" ]; }; Available in supported nixpkgs channels; configure your desktop users and see the Linux reference for module constraints
Store Simplest Windows install with managed updates
winget install AlperHan.CrossMacro Publication can lag behind GitHub Releases
Releases
CrossMacro--x64.msix or -arm64.msix Unsigned advanced/test artifact; prefer Store, winget, or portable EXE
Releases
CrossMacro--win-x64.exe or -win-arm64.exe Does not add itself to PATH
[Releases](https://github.com/alper-han/Cr

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#autoclickerautomationavaloniacli

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库