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

    Function WinGetClientSize

    • Retrieves the client area dimensions of a window.

      Parameters

      • windowTitle: string

        The title of the window to access.

      • windowText: string = ''

        Optional text found in the window.

      Returns IRect

      An object containing the width and height of the client area.

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

      const clientSize = WinGetClientSize('Untitled - Notepad');

      console.log(clientSize); // Output: { width: 800, height: 600 }