Find legacy (MSAA) objects
List the controls of an older application through MSAA (IAccessible), for programs UI Automation does not describe well: name, role, value, default action, state and position, each with its path.
Command in the Desktop objects toolkit · id ooa.desktop_ui/find_legacy_objects · 6 inputs, 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Window title | String | No | Title of the application window: text it contains, or a pattern with * and ?. | |
| Name | String | No | Name of the control (contains, or * and ?); empty for any. | |
| Role | String | No | MSAA role, e.g. push button, editable text, list item, check box (contains, or * and ?). | |
| Value | String | No | Value of the control (contains, or * and ?); empty for any. | |
| Process | String | No | Program of the window, e.g. myerp.exe (optional, narrows the search). | |
| Largest value | Number | No | 500 | At most this many objects. |
Outputs
| Output | Type | What it is |
|---|---|---|
| objects | List | Matching objects: path, name, role, value, description, default_action, state, unavailable, checked, invisible, focusable, bounds. |
| count | Number | Number of matching objects. |