SetObjectText


 

SetObjectText>handle,text

 

Attempts to set the published text property of an object given its handle.

 

See also: FindObject, SetControlText

 

Example:

 

//Set the text in Notepad's editor

GetWindowHandle>Untitled - Notepad,hWndParent

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

SetObjectText>hWnd,This Text Was Autogenerated!