Shows a control in a window.
The handle of the window to access.
The handle of the control to show.
A promise that resolves to 1 if successful, or 0 otherwise.
import { ControlShowByHandle, ControlGetHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = await WinGetHandle('Untitled - Notepad');const controlHandle = await ControlGetHandle(windowHandle, 'Edit1');await ControlShowByHandle(windowHandle, controlHandle); Copy
import { ControlShowByHandle, ControlGetHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = await WinGetHandle('Untitled - Notepad');const controlHandle = await ControlGetHandle(windowHandle, 'Edit1');await ControlShowByHandle(windowHandle, controlHandle);
https://www.autoitscript.com/autoit3/docs/functions/ControlShow.htm
Shows a control in a window.