Auto-capture a screenshot in RunMacro
Desktop ModeBrowser ModeRunMacro RunnerRunMacro 3.5+
The Screenshot command captures the full screen or a region and saves a PNG to a folder with a sequential or random name.
Dialog & quick setup

- Add a Code › Screenshot command.
- Choose the save folder and capture mode (full / region).
- For region: enter X, Y and width, height.
- Choose the naming mode (sequential / random). Save.
Options reference
Modes & when to use
Desktop Mode
Browser Mode
Runs in the background through Chrome CDP: the command captures the page inside Chrome instead of the whole screen.
RunMacro Runner
Best for
- Save step-by-step evidence during a run.
- Capture results/state to review later.
- Grab a specific region for image processing.
Use an alternative when
- Do not use it when the screen contains sensitive data or only a specific browser element should be captured.
Before you run
- Add Screenshot to the macro.
- Prepare the data or target that Screenshot will use.
Example workflow
Example: capture the full screen each step
- Screenshot, folder
C:\Shots, full screen, sequential naming. - Place after key steps to save evidence.
Expected result: After execution, Screenshot completes the described action and makes its result available to the next step.
Tips & limitations
In normal mode, the RunMacro window is briefly hidden so it does not appear in the shot.
- Output depends on current screen, DPI, multiple monitors, and capture permission; covered windows appear as displayed.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode & RunMacro Runner · Windows 10/11
