RunMacro Documentation
Learn RunMacro from basics to advanced.
Everything you need to start and master RunMacro — from basic commands to advanced automation workflows.

RunMacro Flow commands
Pick an item to see a detailed guide.
The Label command places a named marker in the script. It does nothing on its own, but it is the target that G…
The Goto command moves execution to a Label you choose — instead of running straight down. Use it to repeat a …
The Random Goto command randomly picks one Label from a list (up to 10) and jumps there. Each run can take a d…
The Loop command is a special IF block: it repeats the commands below until it reaches a set number of iterati…
The Else and End If pair form the condition block used with IF commands (like Find Image, IF Window, IF Clipbo…
The Group and End Group pair bundle related commands under a name, keeping the script tidy and readable. Group…
The Pause command stops the script at its position and waits until you press the resume hotkey (default F8). U…
The IF File Exists command checks whether a path exists (a file, a folder, or a folder that contains files), t…
The Open File command launches an app, opens a document or a path — like double-clicking it. It can pass comma…
The Goto Parent File command is for scripts that call a sub-macro. It exits the running sub-macro and jumps to…
The Insert .pmacro command calls and runs another macro file as a sub-macro, right at its position. It lets yo…
The Insert .qmacro command calls and runs a .qmacro file (a RunMacro packaged workflow) as a sub-macro. Like I…
The Delay command makes the macro wait a fixed amount of time (in milliseconds) before running the next comman…
RunMacro