Docs

RunMacro Documentation

Create your first robot, then go further as needed.

Clear step-by-step guides to create, run, and improve robots for repetitive computer work.

Docs Keyboard Copy Text
📄 Keyboard

Auto-copy text (Ctrl+C) in RunMacro

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

Prerequisites#

  • Add Copy Text to the macro.
  • Prepare the data or target that Copy Text will use.

Supported modes#

  • Desktop Mode

What it does#

The Copy Text command auto-copies (Ctrl+C) the current selection to the clipboard for later steps to reuse. It can select all (Ctrl+A) first.

Screenshots & video#

RunMacro Copy Text command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Copy Text command in RunMacro.

When to use it#

  • 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.

When not to use it#

  • Do not use it for background text extraction from a CDP tab; use CDP Copy Text or Smart HTML.

Configuration steps#

  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.

Every option explained#

Select all before copy (Ctrl+A)#

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

Expected result#

After execution, Copy Text completes the described action and makes its result available to the next step.

Real example#

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.

Limitations and failure cases#

  • Copy depends on selection/focus; Browser/CDP support is incomplete and another application can change the real clipboard.

Tips & common mistakes#

In Browser Mode (Chrome/CDP), copy text is not fully supported — use Desktop Mode.

Verification details#

  • commands/keyboard.py
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.