###Function###
WinSetTitle

###Description###
Changes the title of a window.

###Syntax###
WinSetTitle ( "title", "text", "newtitle" )


###Parameters###
@@ParamTable@@
title
	The title/hWnd/class of the window to change. See <a href="../intro/windowsadvanced.htm">Title special definition</a>.
text
	The text of the window to change. You can use "" an empty string, in order to avoid checking this parameter.
newtitle
	The new title to give to the window.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 if window is not found.
@@End@@


###Remarks###
If multiple windows match the criteria the title of most recently active window is changed.


###Related###
AutoItWinSetTitle, WinGetTitle, WinTitleMatchMode (Option), WinGetHandle


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