Wait for desktop object
Wait until a captured control appears, or until it disappears, in a Windows application.
Command in the Desktop objects toolkit · id ooa.desktop_ui/wait_for_object · 4 inputs (1 required), 1 output
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. | |
| State | String | No | appear | Wait for the object to appear or to disappear. |
| Timeout (seconds) | Number | No | 30 | Maximum wait in seconds. |
| Fail on timeout | Boolean | No | true | Fail the step when the time runs out; false returns found = false instead. |
Outputs
| Output | Type | What it is |
|---|---|---|
| found | Boolean | True when the wait ended in the requested state; false after a timeout when fail_on_timeout is false. |