Retrieves text from a control.
ControlGetText ( "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 text from a control. |
| Failure: | Sets @error to 1 and returns a blank string of "". |
Remarks
None.
Related
WinGetText, StatusbarGetText, ControlSetText, ControlCommand
Example
Run("notepad.exe")
$var = ControlGetText("[CLASS:Notepad]", "", "Edit1")