Have you ever watched DVD using Mac? Or listen to your CD via iTunes?
Whenever you insert the DVD, Mac will ask you what to do (expect you've set up the autoplay), it's really annoying, can it be automated? Of course it can. Now let's set up the autoplay.