Using MCI Script-Channel Commands

The Movie Player ignores any commands it cannot recognize. The Movie Player performs no error checking or error reporting on script-channel text. For example, the following script-channel command opens a waveform audio file called DING.WAV:

mci open ding.wav type WaveAudio

The following script-channel command pauses frame advancement until MCI finishes performing the last command sent for the DING.WAV file:

mciWait ding.wav

You can put multiple MCI commands in a single script-channel command; just separate each command with a semicolon. The commands are not guaranteed to be processed in left-to-right order, so if you need the commands to occur in a particular sequence, place them in different frames. For example, the following script-channel command opens two waveform files:

mci open yaz.wav type waveaudio; mci open node.wav type waveaudio