openWindow() The consoleLib.openWindow() system function creates a window, makes it visible, and adds it to the top of the window stack. Syntax consoleLib.openWindow(window Window inOut) windowA window variable.