trigger_action
Invoke PySide6 QActions directly using their object name or visible text, avoiding menu clicks and modal dialogs for reliable toolbar and menu action activation.
Instructions
Trigger a QAction directly by objectName (name) or visible label (text),
without clicking through menus. Useful to avoid opening modal menus and to
reach toolbar/menu actions reliably. Provide at least one of name/text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | App pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one. | |
| name | No | ||
| text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |