Type text
Type text, or a credential from the vault, into the active or a chosen window (text is pasted via the clipboard by default, which handles any language; a credential is always typed key by key and never logged); can include special keys such as [ENTER].
Command in the Mouse and keyboard toolkit · id ooa.desktop/type_text · 8 inputs, no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | No | Text to type; used when no credential is given. | |
| Method | String | No | paste | paste uses the clipboard (restored afterwards); keystrokes types letters and digits one by one. |
| Delay (milliseconds) | Number | No | 20 | Delay between keystrokes. |
| 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. | |
| Special keys | Boolean | No | false | Read keys in square brackets: [ENTER], [TAB 3], [CTRL+S], [SHIFT DOWN] ... [SHIFT UP]; [[ types a [. |
| Restore clipboard | Boolean | No | true | With paste, put the previous clipboard content back afterwards. |
| Delay before (milliseconds) | Number | No | 0 | Wait this long after bringing the window to the front, before typing. |
| Credential | Credential | No | Credential attribute from the vault, e.g. a password; typed key by key (never through the clipboard) instead of text. |