Purpose: Waits for a native UI control to appear, disappear, enable, or change.
Normal connected use
Synchronize a desktop workflow by waiting for a bounded native selector or existing element to appear, disappear, enable, or change.
Wait for a control to become ready
Open the application with the target visible and choose Pick a desktop control. Hold the pointer over the target for five seconds. Select enable to wait until a disabled button can be used, or appear to wait for a dialog control to exist. Connect Element to the next action. The timeout limits how long to wait. If Nodestly finds several controls with the same identifiers, narrow the window, add an ancestor or choose a match index.
Inputs and settings
element— UI element:text; optional; connect the matching output from an earlier block; the text contains its item ID;text.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.condition— Condition:text; optional;text.property— Changed property:text; optional;text.baseline— Change baseline:any; optional.timeoutMs— Timeout (ms):number; optional;number.pollIntervalMs— Poll interval (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 | 30000 |
pollIntervalMs | Poll interval (ms) | number | 250 |
windowTitleMatch | Window title match | select | "exact" |
role | Accessibility role | select | "any" |
nameMatch | Accessible name match | select | "exact" |
condition | Condition | select | "appear" |
property | Changed property | select | "value" |
Outputs
element— UI element;text.condition— Condition;text.observed— Observed value;any.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 | 30000 | — |
pollIntervalMs | Poll interval (ms) | number | 250 | — |
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 |
condition | Condition | toggle | appear | options: appear, disappear, enable, change |
property | Changed property | toggle | value | options: text, value, state, selection |
