Changes the title of a window.
WinSetTitle ( "title", "text", "newtitle" )
Parameters
title | The title of the window to change. |
text | The text of the window to change. |
newtitle | The new title to give to the window. |
Return Value
None.
Remarks
If multiple windows match the criteria the title of most recently active window is changed.
Related
AutoItWinSetTitle, WinGetTitle, WinTitleMatchMode (Option)
Example
WinSetTitle("Untitled - ", "", "My New Notepad")