# MainWindow Property The MainWindow property contains an object representing the main SiteKiosk window. Syntax
    [obj=] SiteKiosk.WindowList.MainWindow
Possible Values
    WindowInfo object that represents the main window.
The property is read only. Remarks None. Examples The following example shows the window type of the main SiteKiosk window in an alert window.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mainwindow = SiteKiosk.WindowList.MainWindow;
    alert(mainwindow.WindowType);
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top