Retrieves the full title from a window.
WinGetTitle ( "title" [, "text"] )
| title | The title of the window to read. See Title special definition. |
| text | [optional] The text of the window to read. |
| Success: | Returns a string containing the complete window title. |
| Failure: | Returns numeric 0 if no title match. |
Local $title = WinGetTitle("[CLASS:Notepad]", "")
MsgBox(0, "Full title read was:", $title)