Retrieves the client area dimensions of a window.
The handle of the window to access.
An object containing the width and height of the client area.
import { WinGetClientSizeByHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');const clientSize = WinGetClientSizeByHandle(windowHandle);console.log(clientSize); // Output: { width: 800, height: 600 } Copy
import { WinGetClientSizeByHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');const clientSize = WinGetClientSizeByHandle(windowHandle);console.log(clientSize); // Output: { width: 800, height: 600 }
https://www.autoitscript.com/autoit3/docs/functions/WinGetClientSize.htm
Retrieves the client area dimensions of a window.