PDA

View Full Version : Syncing/Integrating with iPhoto




Spike099
Apr 11, 2007, 03:20 PM
Hey guys,

I've been looking around for anything as to where to start about integrating an app with iPhoto. I've never used .Mac but i'm sure what it does is similar to what I want to do. I want to build on app where you can create an album and have that album appear in iPhoto. Of course there is more that I want, but if I could find some info on where to start with that, then im sure it would explain more.

Does anyone know of any tutorials or documentation on how to do this?



robbieduncan
Apr 11, 2007, 05:18 PM
iPhoto works with .Mac, not the other way round. There is no public API for altering or manipulating iPhoto from an external program. You can use AppleScript UI Scripting to drive iPhoto like a user. That's the only current method.

iPhoto does create an XML file that external applications can read to get the current iPhoto library structure, albums etc. But this is not 2 way: adding to this file will not do anything within iPhoto: it uses it's own proprietary binary database that you cannot safely alter.

Spike099
Apr 12, 2007, 12:56 PM
Oh wow. I see. There goes that idea. Thanks!