I’ve got a iPhoto Library with a few hundreds photos. They all have unique file names.
I also have a array of filenames, like “1.jpg, 6.jpg, 20.jpg”.
I want to make a selection of these photos on iPhoto and tag each photo with a keyword “snowboard” for example.
Adding a keyword is easy, however, getting Applescript to make a selection is not.
Any idea how I could achieve that?
Goal is, to have different photos tagged with different keywords.
These are however stored inside a SQL database.
I plan to execute a AppleScript inside PHP/Ruby that goes along like this:
Select photos 1.jpg, 6.jpg, 20.jpg and add keyword “snowboard”
Select photos 1.jpg, 45.jpg, 64.jpg and add keyword “rail”