FANDOM


Syntax

MCI command

MCI command command ...)

Explanation

MCI provides an interface to the Windows 3.1 multimedia extensions. MCI works much like the TYPE command. Instead of printing its inputs, however, the resulting text is sent to the MCI command line interface and executed by Windows.

Some of the MCI commands return values. Logo collects these values into a list which is the output of this command. The default output value is the empty list [].

The Multimedia Command Interface help can be invoked with the Help/MCI commands... menu command.

See also MCI?.

Examples

The following command sequence opens the Windows sound file DING.WAV and plays it. Note that the PLAY command also is able to play sound files.

? MCI [OPEN |C:\WINDOWS\DING.WAV| TYPE WAVEAUDIO ALIAS DINGSOUND]

Result: 1

? MCI [SEEK DINGSOUND TO START]

Result: []

? MCI [PLAY DINGSOUND WAIT]

Result: []

? MCI [CLOSE DINGSOUND]

Result: []

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.