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 Paste Text
📋 Keyboard

Auto-paste text into a field in RunMacro

The Paste Text command drops a predefined text into the focused field instantly (paste instead of typing key by key).

Prerequisites#

  • An editable Desktop field or web element has focus.
  • The content and any referenced variables are prepared.
  • Browser Mode has an active Chrome/CDP connection.

Supported modes#

  • Desktop Mode — Can press Ctrl+A, type directly, or paste through the Windows clipboard, then optionally press Enter.
  • Browser Mode — Uses CDP to select all, type, or paste into the focused web element, which must be editable.

What it does#

The Paste Text command drops a predefined text into the focused field instantly (paste instead of typing key by key). It is faster than Type Text and great for long values.

Screenshots & video#

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

When to use it#

  • Fill long values (address, description, code) into a form fast.
  • Enter sensitive data without revealing a typing speed.
  • Replace old content: enable Select all (Ctrl+A) before pasting.

When not to use it#

  • The focused input cannot be guaranteed.
  • Existing content must be preserved while Select all before paste is enabled.
  • No editable web element is active; use Smart HTML with an explicit selector.

Configuration steps#

  1. Click the input field to place the cursor.
  2. Add a Keyboard › Paste Text command and enter the content.
  3. (Optional) enable Select all before paste, Type instead of paste, or Press Enter after.
  4. Save.

Every option explained#

Content (text)#

The text to paste. Supports variables for dynamic data.

Select all before paste (Ctrl+A)#

Presses Ctrl+A to select existing content, so the paste replaces everything.

Type instead of paste#

Instead of an instant paste, type character by character (like Type Text) — for fields that reject paste.

Press Enter after paste#

Presses Enter when done to submit or add a new line.

Expected result#

The configured content is typed or pasted into the focused field, followed by Enter when enabled.

Real example#

Example: replace a note field#

  1. Click the note field.
  2. Paste Text, enable Select all before paste, enter the new content.
  3. Save and run — the old content is replaced.

Limitations and failure cases#

  • Some applications block paste, requiring Type instead of paste.
  • Ctrl+A or Enter can affect the wrong content if focus changes.
  • In Browser Mode, a non-editable target or unchanged value can produce a warning or failure.

Tips & common mistakes#

If a field blocks paste (some apps do), enable Type instead of paste.
In Browser Mode, it uses Chrome/CDP paste to fill the focused field.

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.