Retrieves the classes from a window.
WinGetClassList ( "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 window classes read. |
| Failure: | Returns "" and sets @error to 1 if no window matches the criteria. |
Local $text = WinGetClassList("[CLASS:Notepad]", "")
MsgBox(0, "Text read was:", $text)