• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhoto returns a real number as a photo id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhoto returns a real number as a photo id


  • Subject: iPhoto returns a real number as a photo id
  • From: Rob Lewis <email@hidden>
  • Date: Sun, 13 Jun 2010 10:09:48 -0700

iPhoto's scripting dictionary says that the "id" property of a photo is an integer. Yet when you fetch it, it's returned as a real number. What is one supposed to do with that? Very odd IMO.

Other Apple apps (e.g., Address Book) use 128-bit unique IDs, returned as a string of 32 hex digits, in the same format used by the "uuidgen" command line utility. These are guaranteed to be unique. I doubt that iPhoto makes any such guarantee, or at least I can't find any mention of it.

Anyone have any insight on iPhoto's id's and how to handle them?  _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: iPhoto returns a real number as a photo id
      • From: Shane Stanley <email@hidden>
    • Re: iPhoto returns a real number as a photo id
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Bug introduced in Mail after Safari 5 install
  • Next by Date: Re: iPhoto returns a real number as a photo id
  • Previous by thread: automator issue - folder actions
  • Next by thread: Re: iPhoto returns a real number as a photo id
  • Index(es):
    • Date
    • Thread