Re: Selecting multiple photos in iPhoto
Re: Selecting multiple photos in iPhoto
- Subject: Re: Selecting multiple photos in iPhoto
- From: Martin Orpen <email@hidden>
- Date: Thu, 24 Mar 2005 10:24:37 +0000
on 22/3/05 4:56 pm, kai at email@hidden wrote:
> Moreover, the fact that iPhoto seems incapable of simply selecting
> items (especially from a list of references that it created itself)
> looks rather like buggy behaviour to me. It precludes even the use of a
> repeat loop to build a list for selection. Again, this sort of action
> is perfectly possible in other applications - so it's a bit
> disappointing from an app version as high as 4/5.
>
> Let's hope that these issues can be resolved in the next upgrade. In
> the meantime, I wonder if we can come up with a workaround...
I used to use a script to locate and process RAW data from iPhoto - it still
seems to work OK in the latest version of iPhoto.
Selecting multiple items seems pretty fast - but I'm only matching one item:
set sTerm to (text returned of (display dialog "Image title contains: "
default answer "NEF"))
tell application "iPhoto"
select (every photo whose name contains sTerm)
end tell
I wouldn't use the results this way myself, as it's more fun to add the
images to a new album:
set sTerm to (text returned of (display dialog "Image title contains: "
default answer "NEF"))
tell application "iPhoto"
if exists album sTerm then
remove album sTerm
end if
set foo to new album name sTerm
remove every photo of album sTerm
add (every photo whose name contains sTerm) to album sTerm
select album sTerm
end tell
(bit messy as I haven't used it in ages)
Which could be easily be modified by the OP so that multiple search results
are added to the same album.
--
Martin Orpen
_______________________________________________
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