###Function###
WinGetTitle

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

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


###Parameters###
@@ParamTable@@
title
	The title/hWnd/class of the window to get the title. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	[optional] The text of the window to get the title. Default is an empty string. See <a href="../intro/windowsbasic.htm#specialtext">Text special definition</a>.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	a string containing the complete window title.
Failure:	"" if the window is not found.
@@End@@


###Remarks###
<a href="WinGetTitle.htm">WinGetTitle</a>("[active]") returns the active window's title.  <a href="WinGetTitle.htm">WinGetTitle()</a> 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@@
