UI Get Element Name
Read a control's name into a variable.
UI AutomationUIAutomationGetNameWindows only
What it does
Read a control's name into a variable.
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: value |
More UI Automation commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.