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 Variables Clear Variable
🗑 Variables

Clear variables (one/all) in RunMacro

What it does

The Clear Variable command resets variable data in three modes: clear a single variable, clear all Dynamic variables, or clear everything (Global + Dynamic).

When to use it

  • Reset temporary variables before a new processing loop.
  • Remove sensitive data (a password) after use.
  • Reset all variable state when needed.

Configuration steps

  1. Add a Variables › Clear Variable command.
  2. Choose the mode: Single / All Dynamic / All.
  3. For Single, enter the variable name. Save.

Every option explained

Mode (Single / All Dynamic / All)

Clearing scope: one variable, all Dynamic, or everything.

Variable name (for Single)

The variable to clear in Single mode.

Real example

Example: reset Dynamic variables each loop

  1. At the start of each loop, add Clear Variable mode All Dynamic.
  2. Then assign fresh data for that loop.

Tips & common mistakes

The All mode also clears Global variables — think twice if the workflow still needs them.
RunMacro robot

Ready to automate smarter?

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