Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] SiteKiosk.WindowList.Windows.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a WindowInfo object that represents the selected window.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows the title of the last window in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    wcount = SiteKiosk.WindowList.Windows.Count;
    alert(SiteKiosk.WindowList.Windows(wcount).ItemText);
    </SCRIPT>
    

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

Back to top