Docs

RunMacro Documentation

Learn RunMacro from basics to advanced.

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

RunMacro robot
Docs Code Screenshot
📸 Code

Auto-capture a screenshot in RunMacro

What it does

The Screenshot command captures the full screen or a region and saves a PNG to a folder with a sequential or random name. In Browser Mode, it captures from the Chrome page.

When to use it

  • Save step-by-step evidence during a run.
  • Capture results/state to review later.
  • Grab a specific region for image processing.

Configuration steps

  1. Add a Code › Screenshot command.
  2. Choose the save folder and capture mode (full / region).
  3. For region: enter X, Y and width, height.
  4. Choose the naming mode (sequential / random). Save.

Every option explained

Save folder

Where to save the PNG. Must already exist.

Capture mode (full / region)

Capture the whole screen, or a region by coordinates and size.

X, Y + Width, Height (region)

Define the region to capture in region mode.

Naming (sequential / random)

Name files sequentially (1.png, 2.png...) or with a random number.

Real example

Example: capture the full screen each step

  1. Screenshot, folder C:\Shots, full screen, sequential naming.
  2. Place after key steps to save evidence.

Tips & common mistakes

In normal mode, the RunMacro window is briefly hidden so it does not appear in the shot.
RunMacro robot

Ready to automate smarter?

Download RunMacro and start automating your desktop, browser, and business workflows today.