Windows Collection

The Windows collection provides information about all existing windows including applications other than SiteKiosk.

Members Table

    The following table lists the members provided by the Windows collection.

    Properties Description
    Count The number of existing windows.
    Methods Description
    Item Returns one item of the collection.

    This collection is available through the collection WindowList. Use the Windows collection to retrieve a single WindowInfo object or to enumerate all existing WindowInfo objects.

    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.
    The following example scans all existing windows and shows their titles.

    <SCRIPT TYPE="text/javascript">
    var myarray = "";
    SKWindows = SiteKiosk.WindowList.Windows;
    for (var i = 1; i <= SKWindows.Count; ++i)
       myarray += SKWindows.Item(i).ItemText + '\n';

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

Back to top