DocsKeyboardKey Press

Key Press Command Reference (Single Keys & Delay)

Desktop ModeBrowser ModeRunMacro 3.5+

The Key Press command sends exactly one key to the active app — for example Enter, Tab, Esc, arrows, or F1–F12.

Dialog & quick setup

RunMacro Key Press command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the Key Press command in RunMacro.
  1. Add a Keyboard › Key Press command.
  2. Choose the key from the list (Enter, Tab, Esc, F1–F12, arrows...).
  3. Save. On run, the key is sent to the active window.

Options reference

Key

The key to press. The list covers letters, numbers, function keys, and navigation keys.

Modes & when to use

Desktop Mode

Sends the key through WinAPI, with scan-code or keyboard-library fallback when needed.

Browser Mode

Sends the key to the active Chrome target through CDP; the command fails without a driver.

Best for

  • Press Enter to confirm or add a new line.
  • Press Tab to jump to the next field in a form.
  • Press Esc to close a dialog.
  • Use arrow keys to move in a list/menu.

Use an alternative when

  • A key must stay held across steps; use Key Hold/Release.
  • A modifier combination is required; use Key Combo.
  • The focused element or window cannot be determined.
Before you run
  • The target Desktop window or DOM element has focus.
  • The selected key is supported by the target application.
  • An active Chrome target and CDP driver can receive key events in Browser Mode.

Example workflow

Example: tab between fields then confirm

  1. Type Text into the first field.
  2. Key Press Tab to move to the next field.
  3. Type Text again, then Key Press Enter to submit.
Expected result: RunMacro sends one press-and-release key event to the active target.

Tips & limitations

Need a combo like Ctrl+C or Alt+F4? Use the Key Combo command instead.
This command also works in Browser Mode (keys sent via Chrome/CDP).
  • System or application shortcuts may be blocked or handled differently.
  • Keyboard layout affects character and symbol keys.
  • Browser Mode cannot run after the CDP session disconnects.

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.