@ahmic/autoit-js
    Preparing search index...

    Function WinExists

    • Checks if a window exists.

      Parameters

      • windowTitle: string

        The title of the window to search for.

      • windowText: string = ''

        Optional text found in the window.

      Returns boolean

      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