Think of something that you wish Authorware could do but it doesn't?  Let the our good friends at Macromedia know via the wishlist.

Please let us know if you find any of the materials on this site inappropriate or offensive. Please include the url and why the material should be reviewed.

Comments and questions about the site are also welcome. Please no Authorware questions, use the AWARE list.


B8002 - How do I tell the name of the CD-ROM on a Macintosh?

by - Joseph Ganci

How do I detect whether I have a certain CD in my drive on the Mac. I've seen the examples but they all seem to be for the PC. Is there a thing called "CDDetect" a DLL or something? Does it come as an XCMD?

There are XCMDs that will tell you the name of the CD-ROM drive. However, you may try an internal Authorware solution that will work if you are running your application from a CD-ROM.

If you are, then you can use the FileLocation variable to know the name of the CD-ROM. Each character starting with the first and ending with but not including the first colon comprises the name of the CD-ROM: 
    cdrom := SubStr(FileLocation, 1, find(":", FileLocation)) 

There are 0 reviews
Add your review