WindowList Object



 
The WindowList object controls all open SiteKiosk windows.


Members Table

    The following table lists the members provided by the WindowList object.

    Members
    Collections Description
    NotificationArea Information about the taskbar notification area.
    Windows Information about all existing windows.
    Properties Description
    ActiveWindow Represents the active window.
    MainWindow Represents the SiteKiosk main window.
    Methods Description
    Activate Activates a window.
    Close Closes a window.
    CloseStartedApplications Closes all configured running applications.
    IsMaximized Returns if the window is maximized.
    IsMinimized Returns if the window is minimized.
    Maximize Maximizes a window.
    Minimize Minimizes a window.
    PerformSessionEndCloses Commits the configured window checks.
    Restore Restores a window.
    Events Description
    OnActivate Fires when a window is activated.
    OnInsert Fires when a new window is created.
    OnMinMax Fires when a window is minimized or maximized.
    OnRefresh Fires when a window content changes.
    OnRemove Fires when a window is closed.

Remarks
    This object is available through the main object SiteKiosk. Use the WindowList object to receive information about all opened SiteKiosk windows or to show, hide or close them.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
Examples
    The following example minimizes the current window, which cannot be the main window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    thiswindow = SiteKiosk.WindowList.ActiveWindow;
    SiteKiosk.WindowList.Minimize(thiswindow.Handle);
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top