Function WinGetClassList

  • Retrieves the class list of a window.

    Parameters

    • windowTitle: string

      The title of the window to access.

    • windowText: string = ''

      Optional text found in the window.

    • characterCount: number = 1024

      The size of the buffer to store the result.

    Returns string

    The class list of the window as a string.

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

    const classList = WinGetClassList('Untitled - Notepad');

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