You can use the consoleLib.activateWindowByName() system function to make the specified window the active window. The consoleLib activeWindow variable is updated accordingly.
The function is similar to consoleLib.activateWindow(), except that it uses the name from the name property of the window rather than the name of the window variable. EGL requires this variant for compatibility with I4GL, which does not have the concept of a window variable.
For an example of the consoleLib.activateWindowByName() function, see activateWindow().
consoleLib.activateWindowByName(name STRING in)