FindWindow Method (Shell Object)¶
Finds the top-level Window object by a class name and/or by a window title. strClass Specifies the window's class name. If this parameter is empty, all class names match. strCaption Specifies the window name (title). If this parameter is empty, all window names match. Supported on EmEditor Professional Version 7.00 or later.¶
[JavaScript]¶
wnd = shell.FindWindow( strClass, strCaption );
[VBScript]¶
wnd = shell.FindWindow( strClass, strCaption )
Parameters¶
Examples¶
[JavaScript]¶
wnd = shell.FindWindow( "", "Calculator" );
wnd.SetForeground();
[VBScript]¶
wnd = shell.FindWindow( "", "Calculator" )
wnd.SetForeground
Version¶