Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Macro Reference > Window Object > Methods

EmEditor Macro Reference: FindWindow Method

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - EmEditor Macro Reference - Window Object

FindWindow Method

Finds the child Window object by a class name and/or by a window title.


wndChild = wnd.FindWindow( strClass, strCaption );


wndChild = wnd.FindWindow( strClass, strCaption )



Specifies the window's class name. If this parameter is empty, all class names match.


Specifies the window name (title). If this parameter is empty, all window names match.



wnd = FindWindow( "EmEditorView", "" );

alert( wnd.Caption );



wnd = FindWindow( "EmEditorView", "" )

alert wnd.Caption



Supported on EmEditor Professional Version 7.00 or later.

Copyright © 2003-2016 by Emurasoft, Inc.