Checks if a window exists.
The title of the window to search for.
Optional text found in the window.
True if the window exists, false otherwise.
import { WinExists } from '@ahmic/autoit-js';const exists = WinExists('Untitled - Notepad');console.log(exists); // Output: true or false Copy
import { WinExists } from '@ahmic/autoit-js';const exists = WinExists('Untitled - Notepad');console.log(exists); // Output: true or false
https://www.autoitscript.com/autoit3/docs/functions/WinExists.htm
Checks if a window exists.