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

Declare a variable (Global/Dynamic) in RunMacro
What it does
The Declare Variable command creates a named variable to store reusable data. Pick Global (kept for the session) or Dynamic (temporary, frequently changing), with an initial value.
When to use it
- Store a value for use in later steps (e.g. email, name).
- Prepare a variable before assigning data from a file/clipboard.
- Separate dynamic data from fixed content.
Configuration steps
- Add a Variables › Declare Variable command.
- Set the variable name (e.g.
email). - Choose the type: Global or Dynamic.
- (Optional) enter an initial value. Save. Reference it as
{email}.
Every option explained
Real example
Example: declare a counter variable
- Declare Variable
count, Global, value0. - In a loop, use Calculate to increment
count. - Reference
{count}where needed.
Tips & common mistakes
Use Dynamic for per-loop data (email, password); Global for fixed config.
RunMacro