Livecode Wiki
Advertisement

Sends a command to the Media Control Interface system, and returns the result of the command.Syntax:

MCISendString(<MCICommand>)

Examples:

MCISendString("capability overlay can freeze")
MCISendString(field "Media Commands")

Use the MCISendString function on Windows systems to control multimedia devices.

The Media Control Interface is a Microsoft standard that enables Windows systems to communicate with digitizers, laser-disc players, TV cards, and other multimedia devices.

For information about the MCI commands that can be used with a device, contact the manufacturer of the device.

Parameters:

  • MCICommand (string): A string containing an MCI command.
  • Returns: The MCISendString function returns the value the devicesends back.
  • The result: If the device sends back an error message, the result is set to thatmessage. If the command was successful, the result is set to empty.

See also: result (function),setRegistry (function),platform (function),value (function),queryRegistry (function),lowResolutionTimers (property),

Advertisement