Sorry if this has been covered before, but I searched and couldn't find anything that answered my question exactly...
Our family computer has multiple users, all wanting to share (with read/write privileges) their iPhoto and iTunes libraries. I used the approach described here to accomplish this:
http://captnswing.net/howto/itunes/. Everything is working great, except that if multiple users have iTunes or iPhoto open and they both make changes to the media libraries, only the changes made by the user who quits the app last will be preserved.
So, what I believe I need to do is quit iPhoto and iTunes when the user is switched.
Any ideas on how to do that? I was thinking about firing off a two line applescript whenever the logout happend, but I'm not entirely sure how to hook into that user switch event. Thoughts?