Item Method



 
The Item method returns one item of the collection.


Syntax

    [obj=] SiteKiosk.Plugins("SiteCash").Devices2.Item(index).
           Coins.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a Long value that contains the coin value.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows the first inserted coin value of the first existing device in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Plugins("SiteCash").Devices2.Item(1).Coins.Item(1));
    </SCRIPT>
    

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

Back to top