Record Method
The Record method starts recording.
Syntax
SiteKiosk.CDRecording.Record(simulate, eject)
|
Parameters
simulate |
Boolean value that specifies whether to simulate before recording. |
eject |
Boolean value that specifies whether to eject the recorder's tray after recording. |
Return Value
Remarks
Examples
The following example adds a few files to the AudioFiles collection and starts recording without simulating.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
if (SiteKiosk.CDRecording.RecorderState)
{
SiteKiosk.CDRecording.RecordMode = 1;
SiteKiosk.CDRecording.Title = "My new CD";
SiteKiosk.CDRecording.AddAudioFile("c:/myaudio1.wav");
SiteKiosk.CDRecording.AddAudioFile("c:/myaudio2.wav");
SiteKiosk.CDRecording.Record(false, true);
}
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top