Function ControlShow

  • Shows 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 show.

    Returns number

    1 if successful, 0 otherwise.

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

    ControlShow('Untitled - Notepad', '', 'Edit1');