Hi all,
Can anyone help me with playing a MIDI file, using mciSendString() ?
Here's my script:
on mouseUp
local f
put "c:/somedir/somefile.mid" into f
if there is a file f then
get mciSendString("open Sequencer "&f&" alias bgMusic")
answer the result
# put mciSendString("play bgMusic") into dummy
# answer the result
else
answer "No such file."
end if
end mouseUp
The result of the open command gives:
"MMSYSTEM259 The command parameter used is not defined in the MCI command set"
TIA,
Leston
------------------------------
Leston Drake
LetterPress Software, Inc.
http://www.lpsoftware.com
------------------------------