• 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
Setting iPhoto's Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting iPhoto's Selection


  • Subject: Setting iPhoto's Selection
  • From: Philip Dow <email@hidden>
  • Date: Thu, 2 Mar 2006 14:09:06 +0100

I was under the impression this would be a trivial task, but I am unable to accomplish it. The code is simple enough:

tell application "iPhoto"
	set thePhoto to photo id 4.294967498E+9
	set selection to {thePhoto}
end tell

However, when I run that code, I get an NSInternalScriptingError. Why is that? I know the photo id is valid, I'm grabbing it from the selection, and nothing in the dictionary suggests that the selection is a read only property.

-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Setting iPhoto's Selection
      • From: kai <email@hidden>
  • Prev by Date: Re: progress bars and serializers
  • Next by Date: Re: Choose file
  • Previous by thread: Re: auto-update
  • Next by thread: Re: Setting iPhoto's Selection
  • Index(es):
    • Date
    • Thread