Re: Removing iPhoto 08 Keywords with Applescript
Re: Removing iPhoto 08 Keywords with Applescript
- Subject: Re: Removing iPhoto 08 Keywords with Applescript
- From: Peter Baxter <email@hidden>
- Date: Sat, 21 Mar 2009 07:18:17 +1100
I've got a couple of suggestions:
1. Don't add the new keyword if it is already in the list.
--> loop through the new keywords and
if item x not (is in keyword_list)
then set item x to (keyword_list & x)
end
2. if you must add the whole list first and look later,
set item x of kill_list to ""
On 21/03/2009, at 6:11 AM, Chris Glowacki wrote:
All-
I use a long list of specific keywords that I do not want changed,
but if I import a pic, any keywords attached to it that are not on
my list are added to the keyword list
My thought- create a fxed list of my static keywords in AS, import
the photo's, get the new keyword list from iPhoto, and delete
anything not in the original but:
delete keyword (item x of kill_list)
or
remove keyword (item x of kill_list) both fail.
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
Peter Baxter
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden