Is Window Exists Activity
The Is Window Exists activity verifies if a specified application window is currently open and visible on the screen. It returns a boolean value indicating the presence or absence of the window, allowing for conditional process flows within an automation.
| Field | Description | Requirement |
|---|---|---|
| Window title | The title of the window to search for. This field supports wildcard (*, ?) characters for flexible search operations. | Required |
| Match type | Specifies the matching strategy to use when searching by Window title. Options include equals, starts, ends, and contains. | Optional |
| Result variable name | The name of the boolean variable to store the activity's output. true if the specified window is found, false otherwise. | Required |
Action Types & Examples
Boolean Result
- Format: boolean
- Example Result:
true
Implementation Examples
Field Setup - Window title examples: - Untitled – Notepad (Matches with values matching the exact title "Untitled – Notepad") - *Note* (Matches with values containing "Note") - *Notepad (Matches with values ending with "Notepad") - Untitled* (Matches with values starting with "Untitled") - Match type options: - equals - starts - ends - contains
Execution Parameters - Example 1: Check for an exact window title - Window title: Untitled - Notepad - Match type: equals - Result variable name: notepadWindowFound - Example 2: Check if any window contains "Browser" - Window title: *Browser* - Match type: contains - Result variable name: browserOpen
Technical Notes
The Window title parameter supports wildcard characters (
*,?) for flexible search operations. The asterisk (*) matches any sequence of zero or more characters, while the question mark (?) matches any single character. When Match type is set toequals, wildcards are ignored, and an exact match is performed.