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

    Function WinGetHandle

    • Retrieves the handle of a window.

      Parameters

      • windowTitle: string

        The title of the window to access.

      • windowText: string = ''

        Optional text found in the window.

      Returns bigint

      The handle of the window as a bigint.

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

      const handle = WinGetHandle('Untitled - Notepad');

      console.log(handle); // Output: 123456n