Sets the text of a control in a window.
The title of the window to search for.
Optional text found in the window.
The ID of the control to set text for.
The text to set for the control.
1 if successful, 0 otherwise.
import { ControlSetText } from '@ahmic/autoit-js';ControlSetText('Untitled - Notepad', '', 'Edit1', 'Hello, World!'); Copy
import { ControlSetText } from '@ahmic/autoit-js';ControlSetText('Untitled - Notepad', '', 'Edit1', 'Hello, World!');
https://www.autoitscript.com/autoit3/docs/functions/ControlSetText.htm
Sets the text of a control in a window.