Retrieves the class list of a window.
The handle of the window to access.
The maximum number of characters to retrieve. Default is 1024.
The class list of the window as a string.
import { WinGetClassListByHandleSync, WinGetHandleSync } from '@ahmic/autoit-js';const windowHandle = WinGetHandleSync('Untitled - Notepad');const classList = WinGetClassListByHandleSync(windowHandle);console.log(classList); // Output: "Edit\nButton" Copy
import { WinGetClassListByHandleSync, WinGetHandleSync } from '@ahmic/autoit-js';const windowHandle = WinGetHandleSync('Untitled - Notepad');const classList = WinGetClassListByHandleSync(windowHandle);console.log(classList); // Output: "Edit\nButton"
https://www.autoitscript.com/autoit3/docs/functions/WinGetClassList.htm
Retrieves the class list of a window.