Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

PHOTOS: how do I add the description to multiple pics?

In iPhoto there was a Batch update function so you could set the Description for multiple selected photos at once.


Where is this in the new Photos app?


I want / need to be able to save the "story" that goes with a selection of pictures. There may be several groups in one day with different stories. how can I do this without going through them all one by one?


All comments appreciated!

iMac, OS X Yosemite (10.10.3), The New Photos app

Posted on Apr 14, 2015 9:10 AM

Reply
Question marked as Best reply

Posted on Apr 14, 2015 9:34 AM

User léonie posted the following Automator workflow to add the same description to all selected photos.

on run {input, parameters}

-- batch change the description to the input

tell application "Photos"

activate

set imageSel to (get selection)

if imageSel is {} then

error "Please select some images."

else

repeat with im in imageSel

tell im

set the file name to input

end tell

end repeat

end if

end tell

return input

end run

Copy and paste the above script into Automator as shown in this screenshot and save as a application:

User uploaded file


Place the resulting app wherever it works best for you.


FWIW she also posted this script that will put the file name of the selected photos in the Title field which iPhoto does. Copy and paste into Applescript and save an an application.


tell application "Photos"

activate

set imageSel to (get selection) -- get a list of selected images

set counter to 1

set currentfilename to ""

if imageSel is {} then

error "Please select an image."

else

repeat with im in imageSel

set title to the name of im

if not (exists (title)) then

set currentfilename to the filename of im as text -- retrieve the filename of image "Im"

set newname to currentfilename & "." & counter

set counter to counter + 1 -- increment the counter

set the name of im to newname -- write the newname to the title field

end if

end repeat

end if

return currentfilename -- return the filename of the last image

end tell

User uploaded file

18 replies

Jun 30, 2015 10:40 AM in response to Old Toad

Nope. I did all of the above and shut down Automator just to make sure. Still getting the error message. Guess its time to learn a new language. Or, as someone else suggested, slog through doing it by hand till El Capitan arrives. At glacier speed...


This is very trying as I am "the-e most patient man in Eng-land" (love that animated version of WiW).

Jul 19, 2015 5:08 AM in response to Old Toad

Hello OT

Thank you for all your hard work providing us with these batch change scripts, but (There is always a but ) no matter which script I use I get the the Following error Photos got an error: AppleEvent handler failed. and this is highlighted set the name to input & "-" & ntext as text .

I am running Photos Version 1.0.1 (215.65.0)

OSX Yosemite 10.10.4

MBP Retina late 2013

I have a feeling it is not a problem in the script more of a problem in Automator and the way I may have set it up. If you have any ideas OT then I would be really grateful as this batch change thing is really bugging me


Thanks Alan

PHOTOS: how do I add the description to multiple pics?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.