checking if there's a CD (windows)

Shao Sean shaosean at unitz.ca
Thu Jul 10 17:06:11 EDT 2003


i think it was shari who was looking for a way to check if
the CD is present or not on windows..
   get MCISendString("status cdaudio media present")
will return TRUE if there's a CD in the drive, FALSE if no
CD..

you can also eject and insert the CD tray
   get MCISendString("set cdaudio door open")
   get MCISendString("set cdaudio door closed")


-Sean



More information about the use-livecode mailing list