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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Window title (substring) | string | Required | Example: Calculator Supports variables | |
| Find control by | dropdownName · AutomationId · ControlType | Required | Name | |
| Control identifier | string | Required | Name / AutomationId / ControlType depending on 'Find by'. Example: OK Supports variables | |
| Store result in | variable | Required | Example: exists |
More UI Automation commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.