WindowInfo Object



 
The WindowInfo object provides information about an open window.


Members Table

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

    Members
    Objects Description
    SiteKioskWindow Represents a window of the SiteKiosk application.
    Properties Description
    Handle Window handle.
    Icon Icon handle.
    ItemText Title of the window.
    Visible If the window is visible.
    WindowType Type of the window.
    Methods Description
    RefreshData Refreshes the object properties.

Remarks
    This object is available in the form of scripts that can be used in combination with SiteKiosk. Use the WindowInfo object to receive information about the window represented by the WindowInfo object.

    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 shows the current window handle in an alert window.

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

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

Back to top