app_set_dropdown
Select and verify an option in a combo box or drop list, with an optional list-only mode to inspect available choices without changing the current value.
Instructions
Choose an option in a combo box or drop list, and verify it.
THESE WERE READABLE AND UNSETTABLE. combobox and droplist have
been reported by app_list_open_dialogs from the start, so a
caller could see a combo and its current value with no way to
change it, which is the same shape as a property that reads and
will not write.
Three routes are tried, cheapest first: the option's own default action, an accessible selection, then a real click on it. The value is READ BACK afterwards, so a route that runs and changes nothing is reported rather than believed.
Args: control_label: the combo's label. option: the option to choose, matched by name. dialog_title: which dialog, when several are open. list_only: report the options and change nothing.
Returns:
{"ok": true, "value": ..., "how": ..., "was": ...}, or
ok: false with offered listing what is there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| option | Yes | ||
| list_only | No | ||
| dialog_title | No | ||
| control_label | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||