###Function###
WinGetTitle

###Description###
Retrieves the full title from a window.

###Syntax###
WinGetTitle ( "title" [, "text"] )


###Parameters###
@@ParamTable@@
title
	The title of the window to read. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	[optional] The text of the window to read.
@@End@@


###ReturnValue###
@@ReturnTable@@
Success:	Returns a string containing the complete window title.
Failure:	Returns numeric 0 if no title match.
@@End@@


###Remarks###
WinGetTitle("[active]") returns the active window's title.  WinGetTitle works on both minimized and hidden windows.  If multiple windows match the criteria, the most recently active window is used.


###Related###
AutoItWinGetTitle, WinGetText, WinSetTitle, WinTitleMatchMode (Option)


###Example###
@@IncludeExample@@
