Q: Set description of photo to album name using AppleScript
Hi,
i have migrated my iPhoto library to Photos and my events have been converted to albums. While I'm not entirely happy about this I see a potential solution is to populate the photos description field with the event (album) name. E.g.
I have an iPhoto event called "Kids at park" containing 10 photos
on migrating to Photos that event is now an album called "Kids at park"
I want to populate all 10 Photos' Description as "Kids at park"
I want to perform this action on hundreds of events so need some kind of looping action
i have searched the Interweb without success.
Any and all help gratefully received and appreciated.
Manoz
iMac (24-inch Mid 2007), OS X El Capitan (10.11.4)
Posted on Apr 28, 2016 12:57 AM
Photos does not have much support for batch changing.
You can select all photos in the event at once, open the Info panel with the key combination ⌘I, and then copy and paste the album name into the description field. It will replace the description of all selected photos at once.
To do this automatically you would have to create an Apple Script. We posted quite a few scripts in the user tip section. You could try to modify one of them for this task: The user tips are here: Photos for Mac
- This one shows how to batch change descriptions: Batch Change the Descriptions
- This one shows how to find out the album name a photo is in: How to find out the albums a photo is in: Jacques Rioux's script
Try to combine these to scripts.
Posted on Apr 28, 2016 1:31 AM