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: Deivy Petrescu <email@hidden>
- Date: Sun, 13 Jun 2010 19:59:52 -0400
On Jun 13, 2010, at 7:28 PM, Michelle Steiner wrote:
>
> On Jun 13, 2010, at 4:18 PM, Shane Stanley wrote:
>
>>> IIRC, all the photo id's I've fetched seem to always start with "4." and end
>>> with "E+9".
>>
>> Then they've probably all been integers, not reals. Try:
>
> How do you figure?
>
>> tell application "iPhoto"
>> set x to id of some photo
>> end tell
>> class of x
>
> -- real
>
> -- Michelle
that is a problem with AppleScript number representation
set x to 1234567890
--obviously x is an integer
class of x
-->real
Deivy Petrescu
email@hidden
_______________________________________________
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