• 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
Re: iPhoto returns a real number as a photo id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iPhoto returns a real number as a photo id
      • From: Michelle Steiner <email@hidden>
References: 
 >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: iPhoto returns a real number as a photo id
  • Next by Date: Re: iPhoto returns a real number as a photo id
  • Previous by thread: Re: iPhoto returns a real number as a photo id
  • Next by thread: Re: iPhoto returns a real number as a photo id
  • Index(es):
    • Date
    • Thread