Set a clipboard value in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
The Set Clipboard command puts a value into the clipboard — either fixed (including from a variable) or by prompting the user at runtime.
Dialog & quick setup

- Add a Keyboard › Set Clipboard command.
- Choose a mode: enter a fixed value (variables allowed), or enable Prompt the user and write the question.
- Save. Then use Paste from Clipboard to fill a field.
Options reference
Modes & when to use
Desktop Mode
Browser Mode
Runs in the background through Chrome CDP: the value is written to RunMacro’s virtual clipboard. Prompt mode is not available here and the command skips it.
Best for
- Prepare content once to paste multiple times in a workflow.
- Ask the user for a value (e.g. an OTP) then use it.
- Move a variable value into the clipboard to paste.
Use an alternative when
- Do not use prompt mode in unattended workflows or when sensitive data must not enter the clipboard.
Before you run
- Add Set Clipboard to the macro.
- Prepare the data or target that Set Clipboard will use.
Example workflow
Example: ask for an OTP then fill it
- Set Clipboard, enable Prompt the user, question "Enter OTP".
- Click the OTP field.
- Paste from Clipboard to fill the code the user typed.
Expected result: After execution, Set Clipboard completes the described action and makes its result available to the next step.
Tips & limitations
The prompt mode runs in Desktop Mode only; in Browser Mode use a fixed value/variable.
- Prompt mode requires Desktop interaction; OS writes can fail when busy, while Browser background uses a virtual clipboard.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
