Core Function WinClose

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> WinClose ( <title>, <text> ) </pre> === Description === Closes a window. === Parameters === ==== Title ==== The title of the window. === Return Value === None. === ...")
Newer edit →

Revision as of 08:51, 28 November 2011

WinClose ( <title>, <text> )

Contents

Description

Closes a window.

Parameters

Title

The title of the window.

Return Value

None.

Remarks

This function sends a close message to a window, the result depends on the window (it may ask to save data, etc.).

To force a window to close, use the WinKill function. If multiple windows match the criteria, the window that was most recently active is closed.

See "WinTitleMatchMode" in Opt

Example

WinClose("Untitled - Notepad", "");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox