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

    Function ControlSetTextByHandle

    • Sets the text of a control in a window.

      Parameters

      • windowHandle: bigint

        The handle of the window to access.

      • controlHandle: bigint

        The handle of the control to set text for.

      • value: string

        The text to set for the control.

      Returns number

      1 if successful, 0 otherwise.

      import { ControlSetTextByHandle, ControlGetHandle } from '@ahmic/autoit-js';

      const controlHandle = ControlGetHandle(windowHandle, 'Edit1');
      ControlSetTextByHandle(windowHandle, controlHandle, 'Hello, World!');