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

Assign a value to a variable from several sources in RunMacro
What it does
The Assign Variable command sets a new value for a variable, taken from one of three sources: typed text, the clipboard, or another variable.
When to use it
- Update a variable with freshly copied content (clipboard).
- Copy a value from one variable to another.
- Reset a variable with new text.
Configuration steps
- Add a Variables › Assign Variable command.
- Choose the target variable.
- Choose the source: Text / Clipboard / Another variable, then enter the source value.
- Save.
Every option explained
Real example
Example: save copied content into a variable
- Copy Text some content on screen.
- Assign Variable
result, source Clipboard. - Use
{result}in a later step.
Tips & common mistakes
To create a new variable with a type, use Declare Variable; Assign Variable updates a value.
RunMacro