Sends a string of text to a control in a window.
The title of the window to access.
Optional text found in the window.
The ID of the control to send text to.
The string of text to send.
The send mode to use. See SendMode for details. Default is SendMode.Default.
SendMode
SendMode.Default
1 if successful, 0 otherwise.
import { ControlSendSync, SendMode } from '@ahmic/autoit-js';ControlSendSync('Untitled - Notepad', '', 'Edit1', 'Hello, World!', SendMode.Default); Copy
import { ControlSendSync, SendMode } from '@ahmic/autoit-js';ControlSendSync('Untitled - Notepad', '', 'Edit1', 'Hello, World!', SendMode.Default);
https://www.autoitscript.com/autoit3/docs/functions/ControlSend.htm
Sends a string of text to a control in a window.