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

    Function ControlSetText

    • Sets the text of a control in a window.

      Parameters

      • windowTitle: string

        The title of the window to search for.

      • windowText: string

        Optional text found in the window.

      • controlId: string

        The ID of the control to set text for.

      • value: string

        The text to set for the control.

      Returns number

      1 if successful, 0 otherwise.

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

      ControlSetText('Untitled - Notepad', '', 'Edit1', 'Hello, World!');