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

    Function WinExistsByHandle

    • Checks if a window exists.

      Parameters

      • windowHandle: bigint

        The handle of the window to search for.

      Returns Promise<boolean>

      A promise that resolves to true if the window exists, or false otherwise.

      import { WinExistsByHandle, WinGetHandle } from '@ahmic/autoit-js';

      const handle = await WinGetHandle('Untitled - Notepad');
      const exists = await WinExistsByHandle(handle);

      console.log(exists); // Output: true or false