Find desktop objects
Return every control that matches the object's used properties (the index is ignored), with their recorded properties.
Command in the Desktop objects toolkit · id ooa.desktop_ui/find_objects · 2 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Captured object | Dictionary | Yes | The captured object (from Pick object or OneAgentStudio's desktop capture): window, properties with match and use, path and index. | |
| Timeout (seconds) | Number | No | 0 | How long to wait for at least one match, in seconds; 0 looks once. |
Outputs
| Output | Type | What it is |
|---|---|---|
| objects | List | One dictionary of properties per matching control, in the order UI Automation lists them. |
| count | Number | Number of matching controls. |