• 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
How to add keywords to photos in iPhoto?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to add keywords to photos in iPhoto?


  • Subject: How to add keywords to photos in iPhoto?
  • From: Dalmazio Brisinda <email@hidden>
  • Date: Fri, 5 Dec 2008 15:24:46 -0600

Hello all,

I'm having problems getting AppleScript to add keywords to photos in iPhoto. No errors, but it just happily goes on as if nothing has happened. 

I'd like to set the keywords for all the photos in the last set of images imported (the default "Last Import" album). I'm a little confused on whether I should create the keyword object first, since iPhoto's "assign keyword" command indicates it assigns only keywords that already exist to the currently selected photos. Assuming this is the case, here's what I have:

tell application "iPhoto"
set imageTag to "mykeyword"
set albumName to "Last Import"
set propertyRecord to {name:imageTag}
set newKeyword to make new keyword with properties propertyRecord
select photos in album albumName
assign keyword string imageTag
end tell

However, even if I manually create the keyword in iPhoto, and comment out the portion that "makes" the keyword in AppleScript, it still does nothing.

Any ideas?

Best,
dalmazio



 _______________________________________________
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

  • Follow-Ups:
    • Re: How to add keywords to photos in iPhoto?
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Renaming a zipped file so it works on a PC
  • Next by Date: Re: In Adobe InDesign, how to untag XML tagging of the parent story of a found text object?
  • Previous by thread: Re: Renaming a zipped file so it works on a PC
  • Next by thread: Re: How to add keywords to photos in iPhoto?
  • Index(es):
    • Date
    • Thread