Sets the text of a control in a window.
The handle of the window to access.
The handle of the control to set text for.
The text to set for the control.
1 if successful, 0 otherwise.
import { ControlSetTextByHandle, ControlGetHandle } from '@ahmic/autoit-js';const controlHandle = ControlGetHandle(windowHandle, 'Edit1');ControlSetTextByHandle(windowHandle, controlHandle, 'Hello, World!'); Copy
import { ControlSetTextByHandle, ControlGetHandle } from '@ahmic/autoit-js';const controlHandle = ControlGetHandle(windowHandle, 'Edit1');ControlSetTextByHandle(windowHandle, controlHandle, 'Hello, World!');
https://www.autoitscript.com/autoit3/docs/functions/ControlSetText.htm
Sets the text of a control in a window.