Skip to main content

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​

InputTypeRequiredDefaultWhat it is
TextStringNoText to type; used when no credential is given.
MethodStringNopastepaste uses the clipboard (restored afterwards); keystrokes types letters and digits one by one.
Delay (milliseconds)NumberNo20Delay between keystrokes.
WindowStringNoWindow 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 keysBooleanNofalseRead keys in square brackets: [ENTER], [TAB 3], [CTRL+S], [SHIFT DOWN] ... [SHIFT UP]; [[ types a [.
Restore clipboardBooleanNotrueWith paste, put the previous clipboard content back afterwards.
Delay before (milliseconds)NumberNo0Wait this long after bringing the window to the front, before typing.
CredentialCredentialNoCredential attribute from the vault, e.g. a password; typed key by key (never through the clipboard) instead of text.