• 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: Removing iPhoto 08 Keywords with Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Removing iPhoto 08 Keywords with Applescript (From: Chris Glowacki <email@hidden>)

  • Prev by Date: Removing iPhoto 08 Keywords with Applescript
  • Next by Date: Re: Removing iPhoto 08 Keywords with Applescript
  • Previous by thread: Removing iPhoto 08 Keywords with Applescript
  • Next by thread: Re: Removing iPhoto 08 Keywords with Applescript
  • Index(es):
    • Date
    • Thread