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

Re: Setting iPhoto's Selection


  • Subject: Re: Setting iPhoto's Selection
  • From: kai <email@hidden>
  • Date: Thu, 2 Mar 2006 14:16:21 +0000


On 2 Mar 2006, at 13:09, Philip Dow wrote:

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.

Try this, Phil:

select thePhoto

---
kai


_______________________________________________ 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
References: 
 >Setting iPhoto's Selection (From: Philip Dow <email@hidden>)

  • Prev by Date: Create todo item in iCal with AS that runs script - how to?
  • Next by Date: Re: auto-update
  • Previous by thread: Setting iPhoto's Selection
  • Next by thread: Create todo item in iCal with AS that runs script - how to?
  • Index(es):
    • Date
    • Thread