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

- Add a Keyboard › Key Press command.
- Choose the key from the list (Enter, Tab, Esc, F1–F12, arrows...).
- Save. On run, the key is sent to the active window.
Options reference
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
- Type Text into the first field.
- Key Press Tab to move to the next field.
- 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
