next up previous contents
Next: sharable Up: Properties Previous: position   Contents


recordMode

Description

Boolean. Represents the record mode of the device. The following table describes the meaning of this property.

Value Description
true Overwrite mode. Data should overwrite existing data.
false Insert mode. Newly recorded information should be inserted or pasted into the existing data.


Syntax

mci.recordMode


Example

m = new MCI;
m.deviceType = "waveaudio";
m.fileName = "c:\\system.wav";
m.wait = true;
m.recordMode = false;
m.command = "open";
m.from = m.length;
m.to = 10000;
m.command = "record";
m.fileName = "d:\\1.wav";
m.command = "save";
m.command = "close";




Copyright ©2000-2010 Shanghai TopCMM Software Technologies. All Rights Reserved.