CDRecording Object
The CDRecording object provides CD recording functionality.
Members Table
The following table lists the members provided by the CDRecording object.
Remarks
This object is available through the main object SiteKiosk.
Use the CDRecording object to write files to a CD.
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).
Volver arriba