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

    Function WinGetClientSizeByHandle

    • Retrieves the client area dimensions of a window.

      Parameters

      • windowHandle: bigint

        The handle of the window to access.

      Returns Rect

      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 }