UI Element Exists

Store whether a control exists in the window.

UI AutomationUIAutomationElementExitsWindows only

What it does

Store whether a control exists in the window.

Parameters

ParameterTypeRequiredDefaultDescription
Window title (substring)string
Required
Example: Calculator
Supports variables
Find control bydropdown
Name · AutomationId · ControlType
RequiredName
Control identifierstring
RequiredName / AutomationId / ControlType depending on 'Find by'.
Example: OK
Supports variables
Store result invariable
Required
Example: exists

More UI Automation commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.