Report question

Question: How do I automatically run an application on USB attach or CD insert on Mac OS X?