Right-click
right_clickOpen a UI element's context menu by clicking its screen coordinates or element ID, making menu actions available for selection.
Instructions
Right-click (secondary click) an element or screen position to open its context menu. Follow with get_app_state to read the menu items, then click one. Use click for normal activation. Pass element_id or x and y, not both. The user's pointer is treated as for click.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Screen x coordinate in points, used together with y when no element_id is given | |
| y | No | Screen y coordinate in points, used together with x when no element_id is given | |
| element_id | No | Element id from the most recent get_app_state snapshot, e.g. e12 |