Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Captured objectDictionaryYesThe captured object (from Pick object or OneAgentStudio's desktop capture): window, properties with match and use, path and index.
Timeout (seconds)NumberNo0How long to wait for at least one match, in seconds; 0 looks once.

Outputs​

OutputTypeWhat it is
objectsListOne dictionary of properties per matching control, in the order UI Automation lists them.
countNumberNumber of matching controls.