Press keys
Press, hold down or release a key or key combination, e.g. ENTER, CTRL+S or ALT+F4, in the active or a chosen window; repeat if needed.
Command in the Mouse and keyboard toolkit · id ooa.desktop/press_keys · 6 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Keys | String | Yes | Key or combination joined with +. | |
| Times | Number | No | 1 | How many times to press. |
| Key action | String | No | press | press presses and releases; down holds the keys; up releases keys held by an earlier step. |
| Delay (milliseconds) | Number | No | 40 | Pause after each press. |
| Hold keys down for (milliseconds) | Number | No | 0 | How long to keep the keys down on each press. |
| Window | String | No | Window to bring to the front first: text in its title, a pattern with * or ?, or re:regex. Empty uses the window that is in front. |