DocsKeyboardPaste Text

Auto-paste text into a field in RunMacro

Desktop ModeBrowser ModeRunMacro 3.5+

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

Dialog & quick setup

RunMacro Paste Text command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Paste Text command in RunMacro.
  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.

Options reference

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.

Modes & when to use

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.

Best for

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

Use an alternative when

  • 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.
Before you run
  • 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.

Example workflow

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.
Expected result: The configured content is typed or pasted into the focused field, followed by Enter when enabled.

Tips & limitations

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

Applies to RunMacro 3.5+ · Desktop Mode & Browser 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.