qt_click
Clicks a Qt widget by referencing its snapshot, enabling agents to automate buttons, menus, and controls with optional mouse button, modifiers, or click position.
Instructions
Click a widget.
Args: ref: Widget ref from qt_snapshot. button: Mouse button - 'left', 'right', or 'middle'. modifiers: Keyboard modifiers - 'shift', 'ctrl', 'alt', 'meta'. position: [x, y] relative to widget top-left. Default: center.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| button | No | left | |
| instance | No | ||
| position | No | ||
| modifiers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |