How to convert a macro to an .exe on Windows
Record a task once, then hand it to any Windows PC as a single program that needs nothing installed.
Updated 18 September 2026 · Export as a program is included in the Basic and Pro plans; every new account gets a 7-day trial of it.
1. What you end up with
In Myna Recorder, File → Export as Program… writes one .exe. Inside it are the macro, every image crop it uses, the local text reader it was tuned with, and your Run, Pause and Stop hotkeys. The file runs on any Windows 10 or 11 PC (64-bit) with no installer, no runtime and no copy of Recorder.
The export dialog offers a small control window: Run, Pause and Stop with their keys, Repeat, Speed and a status line. Tick it for anything a person will start by hand, so a problem is shown as a message. Leave it off for something a scheduler starts: the program then runs the moment it opens, shows nothing, and closes when the macro ends.
2. Before you export
- Replace coordinates with pictures. A raw recording clicks absolute screen pixels, and another PC has another screen. Capture the buttons the macro presses as crops in the Images view, then use click_crop("Save") and wait_for("Save dialog") instead. The manual explains crops.
- Replace sleeps with waits. wait_for pauses until the picture is there, however slow the other machine is. A fixed sleep that works on your PC is a guess about theirs.
- Test at 1× with Test in the Recorder tab, then run the whole macro once end to end.
- Check for secrets. An exported program contains everything in the macro, including any text you typed. Take passwords and tokens out before sending it to anyone.
3. Export, step by step
Have the macro in Recorder
Export uses the macro that is in Recorder now, whether you just recorded it, wrote it or opened it from a file. The images it uses come from the Images tab and go into the .exe with it.
File → Export as Program…
Choose whether it gets the control window, then where to save the .exe.
Run it once here
Double-click the new file on your own PC before you send it anywhere.
The program runs the macro only. Monitors, timed actions and Telegram or Discord messages stay in Recorder.
4. Running it on another PC
- Stopping it: your Stop key as bound at export, F6 unless you changed it. If another application owns that key, the program tries Ctrl+Shift and then Ctrl+Alt with it, and says which before the first step. If none can be registered the macro does not run and reports why, because a macro that cannot be stopped will not run.
- SmartScreen: Windows may warn the first time. The person running it can choose to run anyway.
- Scheduling: export without the control window and point Task Scheduler at the file. The desktop must be signed in and unlocked, as with any tool that sends real mouse and keyboard input.
5. What cannot travel
Anything that talks to our AI server is refused at export, naming the steps: ask_ai and read_text with engine="ai". An exported program has no account to bill. So is a notify step, because an exported program sends nothing to Telegram or Discord. The two local text readers do travel, so a macro that reads a number off the screen with the built-in reader exports fine. See reading text from the screen.
6. What makes this export different
Most ways of turning a macro into an .exe fall short in one of two places. Some save a replay of fixed clicks that cannot be edited, so the file breaks when a window moves or the screen changes. Others compile a script that you first have to write yourself, in a programming language. And some automation tools have no standalone export at all: the job only runs on a machine that has the tool installed.
An exported Myna Recorder program is a recording you could open and fix, that clicks on pictures instead of screen positions, in one file that needs nothing installed. More on what makes Myna Recorder different.