SiteKiosk Documentation
One Step Back

Item Method




The Item method returns one item of the collection.


Syntax

    [str=] SiteKiosk.CDRecording.AudioFiles.Item(index)
    
Parameters
    indexLong 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 topVolver arriba

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