Retrieves the current foreground window.
wnd = shell.ForegroundWindow;
wnd = shell.ForegroundWindow
wnd = shell.FouregroundWindow;
str = wnd.Caption;
alert( str );
wnd = shell.FouregroundWindow
str = wnd.Caption
alert str
Supported on EmEditor Professional Version 7.00 or later.