Halt Workflow Execution Immediately (Stop Macro) in RunMacro
Desktop ModeBrowser ModeRunMacro RunnerRunMacro 3.5+
Stop Command immediately and safely halts macro execution in RunMacro, freeing system hooks and finalizing execution status.
Dialog & quick setup

- In RunMacro, open the Flow › Stop Macro command from the left palette.
- Click to insert the Stop command at your desired position in the workflow list.
- The Stop command requires no complex parameters; it halts execution immediately when encountered.
- Click Save to confirm.
Options reference
Modes & when to use
Desktop Mode
Terminates desktop workflows and releases global input hooks.
Browser Mode
Safely halts browser CDP execution streams.
RunMacro Runner
Updates status to Stopped inside RunMacro Runner.
Best for
- Placed at the end of primary workflows to definitively conclude execution and close tasks.
- Positioned within error handling branches when invalid data or missing files are detected.
- Breaking out of continuous loops once a desired termination criterion is met.
- Immediately halting automation if an account lockout or security alert is encountered.
Use an alternative when
- Pausing temporarily for user confirmation (use Pause or Wait Hotkey instead).
- Pausing a few seconds for buffering (use Delay or Smart Wait).
Before you run
- Inserted at the desired termination point in the workflow sequence.
Example workflow
Example: Stop macro immediately if Excel input file is missing
- Use an If File Exists command to verify
Data.xlsx. - In the missing-file branch, display a Show Message dialog: 'Missing data file!'.
- Immediately insert a Stop Macro command to terminate safely without triggering downstream failures.
Expected result: The macro halts instantly and returns to idle ready state for subsequent runs.
Tips & limitations
Pair the Stop command with Log Message or Telegram Notification to record the exact reason for termination.
The Stop command halts the current workflow entirely; no steps located beneath it will execute.
- Terminates current macro context; nested parent workflows should evaluate child exit status.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode & RunMacro Runner · Windows 10/11
