Syncing/Integrating with iPhoto

Discussion in 'Mac Programming' started by Spike099, Apr 11, 2007.

  1. macrumors regular

    Joined:
    Feb 18, 2007
    Location:
    Canada
    #1
    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?
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    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.
     
  3. thread starter macrumors regular

    Joined:
    Feb 18, 2007
    Location:
    Canada
    #3
    Oh wow. I see. There goes that idea. Thanks!
     

Share This Page