Keyboard Input
Command description
Enter text or press a keyboard shortcut.
Command Input Parameters
| input parameters | Input parameter type | Description |
|---|---|---|
| Input Type | enum | Text, Shortcut |
| Text | str | Required only when Input Type is Text |
| Shortcut | jsonArray | See 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