Purpose: Finds a native UI control using accessibility role, name, automation ID, or hierarchy.
Normal connected use
Find one native desktop control inside a bounded target window by role, accessible name, automation ID, or ancestor hierarchy.
Pick the target in the application
Open the target window, choose Pick a desktop control in this block’s settings and hold the pointer over the control for five seconds. Nodestly fills in the window title, accessibility role and automation ID or accessible name. Connect Element to Read UI Element Value to inspect it, or to Click UI Element to act on it. If several controls share those identifiers, specify an ancestor or a match index. When the window title changes between runs, edit the saved title and use the contains match.
Inputs and settings
windowTitle— Window title:text; optional;text.processId— Process ID:number; optional;number.windowTitleMatch— Window title match:text; optional;text.role— Accessibility role:text; optional;text.name— Accessible name:text; optional;text.nameMatch— Accessible name match:text; optional;text.automationId— Automation ID:text; optional;text.hierarchy— Ancestor hierarchy:list; optional.matchIndex— Match index:number; optional;number.timeoutMs— Timeout (ms):number; optional;number.
A present connector value always wins over the saved setting, including false, 0, or empty text. A present malformed value produces an input error and never falls back to a setting or default.
Visible settings
| ID | Label | Control | Default |
|---|---|---|---|
windowTitle | Window title | text | empty text |
processId | Process ID | number | 0 |
name | Accessible name | text | empty text |
automationId | Automation ID | text | empty text |
hierarchyJson | Ancestor hierarchy | textarea | "[]" |
matchIndex | Match index | number | 0 |
timeoutMs | Timeout (ms) | number | 5000 |
windowTitleMatch | Window title match | select | "exact" |
role | Accessibility role | select | "any" |
nameMatch | Accessible name match | select | "exact" |
Outputs
element— UI element;text.name— Accessible name;text.role— Accessibility role;text.automationId— Automation ID;text.enabled— Enabled;boolean.fire— is emitted only after all required outputs are valid.
What happens when it runs
This block uses the connected UI Element text ID to work with the matching Windows interface element.
Error handling
- Missing, wrong-type, or invalid input stops at this block and names the input or setting to correct.
- If a connected output is no longer available or contains the wrong kind of item, run the earlier block again and reconnect its new output.
- A requested confirmation starts on Cancel. If you cancel, the block makes no change.
- If a required Windows or Nodestly feature is unavailable, the block stops with a clear message that explains what to do.
- Fire and partial outputs are not emitted after failure. Messages refer only to inputs, settings, resources, the target application, or Windows features the user can check.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
windowTitle | Window title | text | Empty text | — |
processId | Process ID | number | 0 | — |
name | Accessible name | text | Empty text | — |
automationId | Automation ID | text | Empty text | — |
hierarchyJson | hierarchyJson | textarea | [] | — |
matchIndex | Match index | number | 0 | — |
timeoutMs | Timeout (ms) | number | 5000 | — |
windowTitleMatch | Window title match | toggle | exact | options: exact, contains |
role | Accessibility role | toggle | any | options: any, Button, Calendar, CheckBox, ComboBox, Custom, DataGrid, DataItem, Document, Edit, Group, Header, HeaderItem, Hyperlink, Image, List, ListItem, Menu, MenuBar, MenuItem, Pane, ProgressBar, RadioButton, ScrollBar, Separator, Slider, Spinner, SplitButton, StatusBar, Tab, TabItem, Table, Text, Thumb, TitleBar, ToolBar, ToolTip, Tree, TreeItem, Window |
nameMatch | Accessible name match | toggle | exact | options: exact, contains |
