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

    Function ControlShowByHandleSync

    • Shows a control in a window.

      Parameters

      • windowHandle: bigint

        The handle of the window to access.

      • controlHandle: bigint

        The handle of the control to show.

      Returns number

      1 if success, 0 otherwise.

      import { ControlShowByHandleSync, ControlGetHandleSync, WinGetHandleSync } from '@ahmic/autoit-js';

      const windowHandle = WinGetHandleSync('Untitled - Notepad');
      const controlHandle = ControlGetHandleSync(windowHandle, 'Edit1');

      ControlShowByHandleSync(windowHandle, controlHandle);