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

Selection in iPhoto


  • Subject: Selection in iPhoto
  • From: Le Pors Gilles <email@hidden>
  • Date: Sat, 10 Jan 2004 21:14:46 +0100

Hi everyone,

I really thought it would be straightforward.

I wanted to select a photo in iPhoto (by id or by name, whatever) and
have it displayed in edit view.


I wrote
tell application "iPhoto" to select photo id 3434
tell application "iPhoto" to set view to edit

Script Editor is happy. The only problem is that the photo that appears
in edit view is always the photo selected in te UI, not the photo I
told Applescript to select.

There is a "selecting in iPhoto based on file name" thread in the
archives, and someone wrote: tell application "iPhoto" to select photo
id 123.

It doesn't work the way I imagine it should.


The dictionary doesn't state that "selection" is read only, so I tried:
set the selection to

Nothing worked.


I looked at the sample scripts on Apple's site. They all work with
preselected photos. One of the scripts uses "select album
"Unassigned"", but it doesn't seem to do anything here (if the album
wasn't selected, it still isn't afterwards).


So, basically, I'm stumped and, therefore, any help is appreciated.


Yours Sincerely,

Gilles Le Pors
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Selection in iPhoto
      • From: Craig Sutherland <email@hidden>
  • Prev by Date: iPhoto 4
  • Next by Date: Re: Obtaining default Email application name
  • Previous by thread: iPhoto 4
  • Next by thread: Re: Selection in iPhoto
  • Index(es):
    • Date
    • Thread