HotkeyNet: the next generation
REFERENCE
GetWindowHandle

Gets the handle of a window.

Syntax

GetWindowHandle ( name )

Parameters

Name is the name of a window.


Return value

Returns a window handle.


Remarks

Window names are case sensitive because the operating system works that way.

Partial name matches are enabled by default. There is (will be) a setting to require full name matches.


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