Skip to main content

Keyboard Input

Command description

Enter text or press a keyboard shortcut.

Command Input Parameters

input parametersInput parameter typeDescription
Input TypeenumText, Shortcut
TextstrRequired only when Input Type is Text
ShortcutjsonArraySee the shortcut-key example below

Command Output Parameters

None

Shortcut-key example

Press Ctrl+A:

    {
"children": [],
"in": {
"Input Type": "'Shortcut'",
"Shortcut": [
{
"type": "down",
"code": 162,
"delay": 0
},
{
"type": "down",
"code": 65,
"delay": 0
},
{
"type": "up",
"code": 65,
"delay": 199.5627 // Lift delay, milliseconds
},
{
"type": "up",
"code": 162,
"delay": 662.4087 // Lift delay, milliseconds
}
]
},
"out": {},
"comments": "Press Ctrl+A to select all",
"ins": "Keyboard Input"
}

Example

Press Ctrl + C to copy