Selection in iPhoto
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.