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 { ControlSetTextByHandleSync, ControlGetHandleSync } from '@ahmic/autoit-js';const controlHandle = ControlGetHandleSync(windowHandle, 'Edit1');ControlSetTextByHandleSync(windowHandle, controlHandle, 'Hello, World!'); Copy
import { ControlSetTextByHandleSync, ControlGetHandleSync } from '@ahmic/autoit-js';const controlHandle = ControlGetHandleSync(windowHandle, 'Edit1');ControlSetTextByHandleSync(windowHandle, controlHandle, 'Hello, World!');
https://www.autoitscript.com/autoit3/docs/functions/ControlSetText.htm
Sets the text of a control in a window.