Retrieves the text from a window.
WinGetText ( "title" [, "text"] )
Parameters
title | The title of the window to read. |
text | [optional] The text of the window to read. |
Return Value
Returns a string containing the window text read.
Remarks
Up to 64KB of window text can be retrieved. WinGetText works on minimized windows, but only works on hidden windows if you've set AutoItSetOption("WinDetectHiddenText", 1)
Related
WinGetTitle, ControlGetText
Example
$text = WinGetText("Untitled -", "")
MsgBox(0, "Text read was:", $text)