ui_press_key
Focus a visible, enabled UI path, press and release a key with optional modifiers, then read back the resulting state to verify shortcuts or form commits.
Instructions
Focus a required visible, enabled path, press/release a key and read back state. Modifiers: CTL/ALT/SHIFT/MAC_CONTROL. Enter can commit forms. Human input and shortcuts can interfere; verify the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| keysym | Yes | ||
| modifiers | No | ||
| observe_path | No |