Macro Scheduler 15

ObjectSendText

ObjectSendText>handle,text

 

Sends text directly to the given object via keyboard messages.

 

Unlike the SendText command ObjectSendText sends directly to the control and does not require that the object has focus.

 

See also: ObjectSendText, FindObject, SendText

 

Example:

 

//Send text directly to Notepad

GetWindowHandle>Untitled - Notepad,hWndParent

FindObject>hWndParent,Edit,,1,hWnd,X1,Y1,X2,Y2,result

ObjectSendText>hWnd,{"Hello World"}