keyboard¶
Send keyboard input - type text, press special keys, or execute key combinations.
Usage Examples¶
Type Text
actions:
- keyboard:
text: "forensic evidence data"
description: "Enter evidence data"
Key Combinations
actions:
# Save shortcut
- keyboard:
combination: ["ctrl", "s"]
description: "Save file"
# Close application
- keyboard:
combination: ["alt", "f4"]
description: "Close window"
Special Keys
actions:
- keyboard:
key: "enter"
description: "Press Enter"
- keyboard:
key: "f5"
description: "Refresh"
Parameters¶
Parameter |
Type |
Description |
|---|---|---|
|
string |
Text to type (mutually exclusive with key/combination) |
|
string |
Single special key to press |
|
list |
Key combination (e.g., [“ctrl”, “s”]) |
|
string |
Human-readable description (optional) |
Available Special Keys¶
Function keys:
f1,f2, …,f12Arrow keys:
arrow_up,arrow_down,arrow_left,arrow_rightNavigation:
home,end,page_up,page_downEditing:
insert,delete,backspaceSystem:
escape,enter,tab,spaceModifiers:
ctrl,alt,shift,cmd(Mac)
Notes¶
Exactly one of
text,key, orcombinationmust be specifiedKey combinations execute modifiers simultaneously
Text typing simulates natural keystroke timing
See Also¶
click for mouse interactions