DocsKeyboardCopy Text

Copy Text Command Reference (Ctrl+C & Clipboard Output)

Desktop ModeRunMacro 3.5+

The Copy Text command auto-copies (Ctrl+C) the current selection to the clipboard for later steps to reuse.

Dialog & quick setup

RunMacro Copy Text command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Copy Text command in RunMacro.
  1. Select the content, or enable Select all (Ctrl+A).
  2. Add a Keyboard › Copy Text command.
  3. Save. The content lands in the clipboard after running.

Options reference

Select all before copy (Ctrl+A)

Presses Ctrl+A to select everything before copying, handy when nothing is selected yet.

Modes & when to use

Desktop Mode

Best for

  • Grab content from a field to paste elsewhere.
  • Extract data then check it with IF Clipboard.
  • Copy a result to save into a file/variable.

Use an alternative when

  • Do not use it for background text extraction from a CDP tab; use CDP Copy Text or Smart HTML.
Before you run
  • Add Copy Text to the macro.
  • Prepare the data or target that Copy Text will use.

Example workflow

Example: copy the whole field then check

  1. Click the field to read.
  2. Copy Text with Select all on.
  3. Use IF Clipboard to branch based on the copied content.
Expected result: After execution, Copy Text completes the described action and makes its result available to the next step.

Tips & limitations

In Browser Mode (Chrome/CDP), copy text is not fully supported — use Desktop Mode.
  • Copy depends on selection/focus; Browser/CDP support is incomplete and another application can change the real clipboard.

Applies to RunMacro 3.5+ · Desktop Mode · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.