>Please let me know how the program should detect the platform. Also 
>let me know where exacxtly to write this code.


You don't need to. The autorun part of the disc happens before you're 
even in Director. As a general rule it's not normal to autorun CDs on 
a Mac, partly because it's a bad thing to do, partly because some 
viruses took advantage of the feature, and mainly because on a Mac 
you can lay out the CD in a friendly graphical way, so it's very easy 
for the user to find the read me file, or double click on the 
projector file, and therefore much less necessary to autorun at all.

To save me a bit of typing, I'll block-quote from a Mark A. Boyd 
post. BTW, Toast is a Mac CD writing application, it's very easy to 
write Mac/PC discs using Toast. The rest of the text in this message 
are Mark's words, but what I would have said anyway:




For a Windows only solution, create a plain ASCII text file named
autorun.inf. Place the file on the root directory of the CD. The file should
have the following lines (replace whatever.exe with your projector name)

[autorun]
open=whatever.exe

If you want to display a custom icon for the CD, add another line to the
file like so:

[autorun]
open=whatever.exe
icon=whatever.ico

For Mac, there's a switch somewhere in the Toast software.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to