Hold and release a key in RunMacro
Desktop ModeBrowser ModeRunMacro 3.5+
The Key Hold command lets you hold (Down) or release (Up) a single key — unlike Key Press which taps at once.
Dialog & quick setup

- Add a Keyboard › Key Hold command.
- Choose the key and the action: Hold (Down) or Release (Up).
- To hold for X seconds: Hold → Wait → Release.
- Save.
Options reference
Modes & when to use
Desktop Mode
Browser Mode
Runs in the background through Chrome CDP: keyDown/keyUp events are dispatched into the page instead of the system keyboard.
Best for
- Hold W/A/S/D to keep moving in a game.
- Hold Shift to select multiple items.
- Hold Ctrl while doing other actions.
Use an alternative when
- Do not use it if execution may stop between Down and Up or only a quick tap is needed.
Before you run
- Add Key Hold/Release to the macro.
- Prepare the data or target that Key Hold/Release will use.
Example workflow
Example: hold W to run for 3 seconds in a game
- Key Hold: key W, action Hold.
- Add a Wait of 3000ms.
- Key Hold: key W, action Release.
Expected result: After execution, Key Hold/Release completes the described action and makes its result available to the next step.
Tips & limitations
Always pair each Hold with a Release, otherwise the key stays stuck down.
- Unbalanced Down and Up events can leave a key held; the OS or application can intercept some keys.
Applies to RunMacro 3.5+ · Desktop Mode & Browser Mode · Windows 10/11
