I have things set this way in iPhoto, and it does prevent iPhoto from coming up when I plug in my iPhone, as long as iPhone isn't already running. But it doesn't prevent iPhoto from switching from what I am doing to my iPhone when I hook it up, if iPhoto is already running.
Anyone know of a way to keep iPhoto's attention from switching to the iPhone when the phone is hooked up?