autoload a CD-rom...

anyone know how to make autoload file in Mac OSX? i.e. when a CD-rom is inserted into a Mac running OSX, a file in the CD-rom will startup automatically… I want to use it for my recent projector…:oops:

I used to use Toast to make autoload file in OS9, and found that Toast can’t do that in OSX, anyone know how to do it? can i do it in Director? or can I use Apple Script to do it? if yes, how to do it?

In OSX does not exist anymore the autoload feature (security issues).