531 words
3 minutes
About saMacros
Samera2022
/
saMacros
Waiting for api.github.com...
00K
0K
0K
Waiting...

saMacros — a scriptable desktop automation platform

What it is#

saMacros is the successor to MouseMacros, rebuilt from scratch. It started as a recorder: capture clicks and keys, play them back. Version 3.0 makes a recording the starting point rather than the whole tool.

Everything runs locally. No account, no cloud service, no JVM.

What it does#

Records and replays. Captures mouse movement, clicks, wheel and keyboard events, then plays them back with timing you control down to the millisecond.

Builds flows visually. A block editor assembles automation without code: sequences, if / else, while, repeat, variables, wait until, sub-flows, break / continue, comments. The layout follows the logic, so a flow reads the way it runs.

Scripts in JavaScript when you need it. The visual editor has a ceiling; JavaScript does not. The API reads pixel colors, the cursor position and virtual screen bounds, types text, fires notifications, and listens for application events, so a script can respond to what is on screen rather than replaying a fixed tape.

Reads the screen. Native sensors expose screen and window state to both the block editor and scripts. A macro can branch on what it sees instead of running blind.

Stays out of the way until you call it. Global hotkeys, pause and resume mid-run, and a tray icon. Every hotkey is remappable.

Speaks seven languages. English, Simplified Chinese, Japanese, Korean, Russian, Spanish and French, loaded from JSON language packs.

Takes plugins. Plugins declare hard or soft dependencies, and a whitelist controls what a script may do.

How it compares#

Macro tools fall into two camps. Free recorders are simple, usually a click loop and little else. The capable tools either make you learn a scripting language before anything useful happens, or keep the good parts behind a subscription.

saMacros is built to sit between them.

Simple recordersScript-only toolssaMacros
Getting startedRecord, then playWrite code firstRecord, then play
Complex logicNot supportedSupported, steep curveBlocks or JavaScript
Screen awarenessRareManualBuilt-in sensors
PriceFree, limitedSubscriptionOne-time activation
RuntimeVariesOften heavyOne native executable

Against the tools you are most likely to compare it with:

  • TinyTask, GS Auto Clicker, OP Auto Clicker are small, free, and good at a pure click loop. They stop where saMacros starts: no conditions, no variables, no branching, no scripting.
  • AutoHotkey is powerful, free, and the reference point for scripting-based automation. It is a programming language, though, so there is no visual editor and screen reading means writing ImageSearch and PixelGetColor calls by hand.
  • Commercial macro recorders are polished and often good, but usually subscription-licensed, closed, and heavier than a single executable.
  • Game macro tools are frequently ad-supported or bundled, with the trust problems of a third-party download site.

The goal is that a beginner records a working macro in under a minute, and a power user grows that same macro into branching, screen-aware, event-driven logic without switching tools.

Activation#

Paid licensing runs through a separate Cloudflare deployment, not only inside the app:

  • Frontend: an activation page where you enter the machine code and receive a code
  • Backend: a Pages Function that signs the activation with RSA-SHA256
  • Storage: Cloudflare KV keyed by order, which prevents replay by construction

Codes run 1M / 3M / 6M / 12M / lifetime, each bound to one machine code.

Stack#

  • Language: Rust workspace, GUI in eframe + egui
  • Scripting: rquickjs (QuickJS)
  • Input: direct Win32 calls
  • Release: cargo build --release produces a single saMacros.exe
  • i18n: JSON language packs
About saMacros
https://samera2022.github.io/en/posts/Projects/saMacros/aboutsamacros-en/
Author
Samera2022
Published at
2026-10-11
License
CC BY-NC-SA 4.0