key
Press a key combination.
modifiers bitmask: LCtrl=1, LShift=2, LAlt=4, LWin=8
Common keycodes: Enter=40, Escape=41, Tab=43, Space=44,
F4=61, PageDown=78, PageUp=75, Win=227
Examples:
Alt+F4 → key(4, [61])
Ctrl+W → key(1, [26])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keycodes | Yes | ||
| modifiers | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |