SiteKiosk Documentation
One Step Back

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.

    Members
    PropertiesDescription
    CountThe number of existing windows.
    MethodsDescription
    ItemReturns one item of the collection.

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

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

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -