Item Method



 
The Item method returns one item of the collection.


Syntax

    [str=] SiteKiosk.CDRecording.AudioFiles.Item(index)
    
Parameters
    index Long value that contains the item number to return.
Return Value
    Returns a String that contains the path of the audio file.
Remarks
    Collection-index values are 1-based.
Examples
    The following example shows the path of the first existing selected audio file in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    if (SiteKiosk.CDRecording.AudioFiles.Count > 0)
    {
       alert(SiteKiosk.CDRecording.AudioFiles.Item(1));
    }
    else
    {
       alert("There is no selected audio file");
    }
    </SCRIPT>
    

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

Back to top