WinGetActive

Gets the title of the active window.

Syntax:

WinGetActive ( )

Parameters:

(none)

Returns:

(s) title of active window.

 

Use this function to determine which window is currently active.

Example:


currentwin = WinGetactive( )
Message("WinGetActive", "Current window is %currentwin%.")

See Also:

WinActivate, WinExeName, WinItemize, WinName, WinPlaceGet, WinPosition, WinTitle