Skip to main content

Desktop object exists

True when the captured control can be found now in a Windows application (self-healing applies), and, when asked, is enabled or has the keyboard focus.

Condition in the Desktop objects toolkit · id ooa.desktop_ui/object_exists · 3 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Captured objectDictionaryYesThe captured object (from Pick object or OneAgentStudio's desktop capture): window, properties with match and use, path and index.
StateStringNoexistsG1 (AA parity): what to check besides being there: nothing more, that it can be used (enabled), or that it has the keyboard focus.
Wait (seconds)NumberNo0Keep trying this many seconds until it is so; 0 checks once (G4).