Launch an application when an iPod is plugged in

Hi everyone,

Does anyone know how, using applescript you can get an application to launch when an iPod is mounted? What I want to do is launch an application in the same way that iTunes launches when the iPod is connected to the machine.

Any help would be really appreciated.


i am looking for an app to put on the ipod to auto launch a password program