HotkeyNet: the next generation
REFERENCE
GetWindowText

Gets the name of a main desktop window.

Syntax

GetWindowText ( window )

Parameters

Window is the handle or name of a window.


Return value

When called on a main desktop window, returns the name of the specified window. The return type is window name.


Remarks

Calls the operating system function GetWindowText.


Examples

function demo()
{
   var handle;
   var name;    
   handle = GetWindowHandle ( "World of" );
   name = GetWindowText ( handle );
   print ( name );
}

This page was last revised on June 14, 2009
Copyright © 2009 HotkeyNet Software