Gets the handle of a control in a window.
The handle of the window to access.
The control to get the handle of.
The handle of the control.
import { ControlGetHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');const controlHandle = ControlGetHandle(windowHandle, 'Edit1');console.log(controlHandle); // Output: 0x0000000000000001 Copy
import { ControlGetHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');const controlHandle = ControlGetHandle(windowHandle, 'Edit1');console.log(controlHandle); // Output: 0x0000000000000001
https://www.autoitscript.com/autoit3/docs/functions/ControlGetHandle.htm
Gets the handle of a control in a window.