You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

batch title change in photo version 1

The new "Photo" has changed the user interface completely. Is there a way to to the "batch title change" for a group of photos? There are instructions for how to do for one, but I'm hoping that this has not been lost. I'm using version 1.


Is there any way to remove the conformation that is now required each and every time you want to delete a photo or group of photos?


Thanks,


DMW

Posted on Apr 24, 2015 9:56 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 27, 2017 3:19 PM

Try creating an app from the script and use it from the Dock or from the Scripts folder:

User uploaded file

which is activated in Script Editor's General Preference pane:

User uploaded file

You can download a compiled version of the script as an application from this tutorial site: P01 - Applescripts from Photos’ User Tips Compiled as Applications

User uploaded file

35 replies
Question marked as Top-ranking reply

Mar 27, 2017 3:19 PM in response to galerosen

Try creating an app from the script and use it from the Dock or from the Scripts folder:

User uploaded file

which is activated in Script Editor's General Preference pane:

User uploaded file

You can download a compiled version of the script as an application from this tutorial site: P01 - Applescripts from Photos’ User Tips Compiled as Applications

User uploaded file

Mar 27, 2017 3:14 PM in response to léonie

Leonie:

Thanks again for your helpful info. Your automator script for making Photos file names into titles was a lifesaver when using El Capitan on my older iMac. However, I just tried to start using it on a MacBook Pro using Sierra. The script will work inside Automator and create titles, but I can't seem to make it appear inside Photos as an available Service. It does not appear as an option, though it is stored inside my User Library in the Services folder. When I respond to a dialog request to Install it, I am told I do not have Permissions, although I loaded the script from your suggestion on the web. Any suggestion? Thanks.

Apr 24, 2015 7:48 PM in response to Diane Ward

Batch changing is not yet supported in Photos for Mac.


You could try to do it using AppleScript and Automator.

I posted a few scripts on the Photos User Tips page:


See: Photos for Mac


Batch Changes in Photos for Mac: Change the titles to a Given String


Photos for Mac: Batch Change the Date and Time to a Fixed Date


Photos for Mac: Batch Change the Descriptions

Apr 24, 2015 7:54 PM in response to léonie

Hi Leonie,

Thanks for the information. I appreciate the links and the work around, but we should not have to deal with workarounds.


Seems Apple released a half baked version of software without thinking about us users just their hype. Given the other posts today there are other things that they've not considered either. Before someone tells me, "just go back to iPhoto", rest assured I will immediately.


Hey Apple, dont waste our time with things that are not ready for prime time! You use to be better than that!


Thanks again Leonie.


DMW

Apr 24, 2015 10:52 PM in response to Ziatron

Your answer implies that it eventually will be supported. Do you know something we don't ?

Just wishful thinking, Ziatron. Apple does listen occasionally, when enough feedback has been sent, that basic functionality is missing or broken. For example, the first update to Photos iOS brought the Camera Roll back to the iPhone and iPad. Or for GarageBand 10 the mp3 export has been introduced again. GarageBand 10 has been improved considerably since the first release a year ago and quite a few missing features added. By now it is usable. I am hoping for the same for Photos.

Apr 24, 2015 11:03 PM in response to Diane Ward

You're welcome, Diana.

I am keeping my main libraries in iPhoto and Aperture for the time being. For me the biggest obstacle to transferring my main libraries is the buggy handling of time zones. And since my photos have been taken all around the world I cannot yet risk to move the older libraries.

Photos does not recognise 08:00:00 GMT as the same time as 10:00:00 GMT+02. It sorts them incorrectly.

Apr 25, 2015 12:09 AM in response to Jay Deitch

Jay Deitch wrote:


HI Leone,


I've tried several, but always something simple like "Volleyball." I've created the script several times on two computers including pasting it in from your post and typing it in directly with the same results. I must be missing something.


Thanks,

Jay

It may be a timing problem, as R-CR reported in another post, or a problem with the "get selection".

Does the script work, with a small selection and only photos from one Moment selected?


Can you enter titles at all for for photos, if you try to add them manually?


Have a look at the script that NicFletcher posted: It shows how to make the scripts more robust by adding error checks:

A sample AppleScript and some technical observations on Photos

Apr 25, 2015 4:33 AM in response to léonie

Hi Leone,


I added a few "display dialog" commands for error checks (see below). I'm not sure the syntax is correct for all of them, but it stops to ask for text (as it has before) and then displays "getting images" with an OK button. When I click the OK button, it errors out before it gets to 'display dialog "Got " & ImageSel...' so either "set imageSel" or ""get selection" appear to be the problem (or the error is the next "display dialog" command). ImageSel must not be empty because it doesn't display the "Please select some images." message. See the error message at the bottom of the attached screen shot ("Can't make (<<class IPmi>>...").


Regarding your other questions:

- I've tried it with 1 to 6 photos selected, all in the same Moment and have tried photos from different Moments.

- I can enter titles manually by typing them in below the image in the Moment. I can also copy and paste the title from one photo to the next.



Thanks again for all your help.

Jay


User uploaded file

Apr 25, 2015 5:31 AM in response to Jay Deitch

Try to add a "return" statement for debugging. Right after the line

set imageSel to (get selection)

insert

return imageSel


That will stop the workflow and return the list of selected items.

The list view should be something like {media item id "6X2EdD5rRtG9JcqgDQNlng" of application "Photos", media item id "ageZwX7KRC6MBw+IMtCrhA" of application "Photos", media item id "Mu2W+MkVQMqpmV6VWhhfXw" of application "Photos"}

Click the "result" button to see the returned items. Is it the list of images you selected?


Also check the input the script receives by "return input"


User uploaded file

Apr 25, 2015 6:37 AM in response to léonie

Hi Leone,


Here is what happened:


First, a step-by-step description of running it:

It apparently completed the workflow without error, but it didn't change the titles.

User uploaded file


Here is the script and the log when I run it using the “Step” button at the top of Automator (Photos is open and the photos are selected before running it). Again, it looks like it ran without error. It didn’t stop at “return imageSel” or display media item ids, etc. After entering in the text for the titles it just completed the workflow but didn't change the titles. Just plain weird!

User uploaded file


Thanks again,

Jay

Apr 25, 2015 8:06 AM in response to Jay Deitch

More...


The "return" command does return the image information and then appears to stop the workflow (so no error message or title changes):

User uploaded file


If I remove the "return" command, or just make it a comment, I get the error message:


User uploaded file


So it looks like it is getting the selected images, and it is getting the input from the text box, but runs into trouble when it tries to "set the name to input"


User uploaded file


-Jay

batch title change in photo version 1

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