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

Branch on clipboard content in RunMacro
What it does
The IF Clipboard command checks the clipboard against a condition and steers the workflow: if true it jumps to one label, if false to another. It is a branching tool based on copied data.
When to use it
- Only continue when the clipboard contains a certain string.
- Skip/stop when the clipboard is empty.
- Classify data: digits-only, letters-only, equals a value...
Configuration steps
- Make sure the clipboard has data (Copy Text or Set Clipboard first).
- Add a Keyboard › IF Clipboard command.
- Choose the comparison (equals, contains, greater, empty, digits, letters) and enter the target value.
- Set the IF label (if true) and ELSE label (if false).
- Place the commands to run under the matching label. Save.
Every option explained
Real example
Example: continue only if clipboard contains "OK"
- Copy the status text into the clipboard.
- IF Clipboard, mode Contains, target "OK", IF label =
continue, ELSE label =finish. - Put the handling steps under the
continuelabel.
Tips & common mistakes
Combine Copy Text → IF Clipboard to read on-screen status then decide the flow.
You must create the matching Label for the jump to work.
RunMacro