Skip to main content

Get object properties

Find a captured control and return all its current UI Automation properties and states.

Command in the Desktop objects toolkit · id ooa.desktop_ui/get_object_properties · 2 inputs (1 required), 1 output

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)NumberNo10How long to wait for the object to appear, in seconds.

Outputs​

OutputTypeWhat it is
propertiesDictionaryCurrent properties: the recorded ones plus states such as IsReadOnly, ToggleState, IsSelected, ExpandCollapseState and SupportedPatterns.