Core Function WinSetTitle

From Sputnik Wiki
Revision as of 06:34, 30 November 2011 by UberFoX (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
WinSetTitle ( <title>, <text>, <newtitle> )

Contents

Description

Changes the title of a window.

Parameters

Title

The title of the window.

Text

The text of the window to read.

NewTitle

The new title to give to the window.

Return Value

Success: Returns 1.

Failure: Returns 0.

Remarks

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

See "WinTitleMatchMode" in Opt

Example

$Result = WinSetTitle("Untitled - ", "", "My New Notepad");
if($Result)
	msgbox("Title was changed...");
else
	msgbox("Title was NOT changed...");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox