SiteKiosk Documentation
One Step Back

CDDirectory Object




The CDDirectory object controls a directory.


Members Table

    The following table lists the members provided by the CDDirectory object.

    Members
    CollectionsDescription
    DirectoriesList of subdirectories.
    MethodsDescription
    ClearClears all files and subdirectories.
    CreateDirectoryCreates a new subdirectory.
    DeleteDeletes a subdirectory.
    GetDirectoryReturns a subdirectory by name.
    ImportImports a file or directory.
    RenameRenames a subdirectory.

Remarks
    This object is returned by the CreateDirectory, GetDirectory or Item method. Use the CDDirectory object to retrieve information about a directory or to modify it.

    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 shows the number of subdirectories of the first subdirectory of the root directory.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    firstSubDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
    alert(firstSubDir.Directories.Count);
    </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 -