RootDirectory Object
The RootDirectory object controls the root directory of the CD.
Members Table
The following table lists the members provided by the RootDirectory object.
Remarks
This object is available through the object CDRecording.
Use the RootDirectory object to retrieve information about the CD root directory or to create a new directory.
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 burns a complete directory to a data CD.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
if (SiteKiosk.CDRecording.RecorderState)
{
SiteKiosk.CDRecording.RecordMode = 0;
SiteKiosk.CDRecording.Title = "My new CD";
SiteKiosk.CDRecording.RootDirectory.Import("c:/dir");
SiteKiosk.CDRecording.Record(false, true);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top