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

    Function WinGetClassListByHandle

    • Retrieves the class list of a window.

      Parameters

      • windowHandle: bigint

        The handle of the window to access.

      • characterCount: number = 1024

        The maximum number of characters to retrieve. Default is 1024.

      Returns Promise<string>

      A promise that resolves to the class list of the window as a string.

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

      const windowHandle = await WinGetHandle('Untitled - Notepad');
      const classList = await WinGetClassListByHandle(windowHandle);

      console.log(classList); // Output: "Edit\nButton"