具有宏记录、播放、调度、文本扩展、CLI 工具以及对 Wayland/X11 感知的 Linux 支持的跨平台桌面自动化应用程序。
具有宏记录、播放、调度、文本扩展、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.
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.
| 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 |
0.1x to 10.0x with pause/resume, countdown, repeat counts,
fixed or randomized repeat delays, and cancellation.F8 record, F9 play, and F10
pause/resume..macro files with Selected
Only, Advance Selection, and Sequential Cycle modes, per-macro repeat counts,
and fixed or randomized cycle delays.repeat, for, while, if,
else, break, and continue.uinput, Wayland portal screen capture, and compositor-provider paths on Linux.crossmacro doctor --json --verbose reports input, cursor, permission, daemon,
session, and available platform-provider diagnostics.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
F8 to record, perform a short action, then press F8 again.F9 to replay it. Use F10 to pause or resume playback.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:
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.
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
| 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,或尚未同步最近议题。