Purpose: Waits until a window appears or changes state.
Normal connected use
Wait cancellably for a bounded window selector to appear, close, activate, minimize, or maximize and return the observed state.
Inputs and settings
title— Window title:text; optional;text.titleMode— Title match:text; optional;text.processId— Process ID:number; optional;number.state— Expected state:text; optional;text.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 |
|---|---|---|---|
title | Window title | text | empty text |
titleMode | Title match | select | "contains" |
processId | Process ID | number | 0 |
state | Expected state | select | "appeared" |
timeoutMs | Timeout (ms) | number | 30000 |
pollIntervalMs | Poll interval (ms) | number | 500 |
Outputs
matched— Matched;boolean.window— Window;text.state— Observed state;text.fire— is emitted only after all required outputs are valid.
What happens when it runs
This block runs on this computer through the installed add-on. It accepts connected outputs only from the current workflow run.
- Provide a window title or a positive Process ID. A present but invalid connector value never falls back to the saved setting.
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 |
|---|---|---|---|---|
title | Window title | text | Empty text | — |
titleMode | Title match | select | contains | options: exact, contains |
processId | Process ID | number | 0 | — |
state | Expected state | select | appeared | options: appeared, active, closed, minimized, maximized |
timeoutMs | Timeout (ms) | number | 30000 | — |
pollIntervalMs | Poll interval (ms) | number | 500 | — |
