Skip to main content

Pick desktop object

Design time: point at a control in any Windows application and press Ctrl+Shift+C. A red frame shows the control under the pointer. Returns the captured object, ready for the other Desktop objects actions.

Command in the Desktop objects toolkit · id ooa.desktop_ui/pick_object · 3 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Timeout (seconds)NumberNo60How long to wait for the Ctrl+Shift+C press, in seconds.
ScreenshotBooleanNotrueInclude a PNG image of the control (base64) in the object.
HighlightBooleanNotrueDraw a red frame around the control under the pointer while picking.

Outputs​

OutputTypeWhat it is
objectDictionaryThe captured object: technology, window, properties (with match and use), path, index and screenshot.