Re: iPhoto returns a real number as a photo id
Re: iPhoto returns a real number as a photo id
- Subject: Re: iPhoto returns a real number as a photo id
- From: Michelle Steiner <email@hidden>
- Date: Sun, 13 Jun 2010 10:18:31 -0700
On Jun 13, 2010, at 10:09 AM, Rob Lewis wrote: 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.
Not only that, but casting it as an integer yields strange results.
tell application "iPhoto" (id of some photo) as integer end tell
tell application "iPhoto" get id of some photo --> 4.29496965E+9 end tell Result: 2354
Shouldn't it be 4294969650? -- Prius: Kicks Gas
|
_______________________________________________
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