Gets the handle of a control in a window as a hexadecimal string.
The title of the window to access.
Optional text found in the window.
The control to get the handle for.
The handle of the control as a hexadecimal string.
import { ControlGetHandleAsText } from '@ahmic/autoit-js';const handle = ControlGetHandleAsText('Untitled - Notepad', '', 'Edit1');console.log(handle); // Output: "0x0000000000000001" Copy
import { ControlGetHandleAsText } from '@ahmic/autoit-js';const handle = ControlGetHandleAsText('Untitled - Notepad', '', 'Edit1');console.log(handle); // Output: "0x0000000000000001"
https://www.autoitscript.com/autoit3/docs/functions/ControlGetHandle.htm
Gets the handle of a control in a window as a hexadecimal string.