# Funktionsreferenz

ControlSend

Sends a string of characters to a control.

ControlSend ( "title", "text", controlID, "string" [, flag] )

Parameter

title | The title of the window to access.
text | The text of the window to access.
controlID | The control to interact with. See Controls.
string | String of characters to send to the control.
flag | [optional] Changes how "keys" is processed: flag = 0 (default), Text contains special characters like + to indicate SHIFT and {LEFT} to indicate left arrow. flag = 1, keys are sent raw.

Bemerkungen

ControlSend works in a similar way to Send but it can send key strokes directly to a window, rather than just to the active window.

Siehe auch

ControlCommand, Send

Beispiel

ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")