Finds the top-level Window object by a class name and/or by a window title.
wnd = shell.FindWindow( strClass, strCaption );
wnd = shell.FindWindow( strClass, strCaption )
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.
wnd = shell.FindWindow( "", "Calculator" );
wnd.SetForeground();
wnd = shell.FindWindow( "", "Calculator" )
wnd.SetForeground
Supported on EmEditor Professional Version 7.00 or later.