Function Reference

ControlFocus

Sets input focus to a given control on a window.

ControlFocus ( "title", "text", controlID )

 

Parameters

title The title of the window to access.
text The text of the window to access.
controlID The control to interact with. See Controls.

 

Return Value

Success: Returns 1.
Failure: Returns 0.

 

Remarks

None.

 

Related

ControlCommand, WinActivate

 

Example


ControlFocus("Untitled - Notepad", "", "Edit1")