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

Where are photo file names?

I've "titled" many, many photos in iPhoto by changing the filename (e.g. "DSC_2254" --> "On vacation in Hawaii"), but there appears to be no option in Photos to show the filename. So none of my "titles" appear. Am I missing something?

iMac (Retina 5K, 27-inch, Late 2014), OS X Yosemite (10.10.3)

Posted on Apr 9, 2015 7:56 AM

Reply
282 replies

Apr 13, 2015 3:44 AM in response to léonie

léonie wrote:

I experimented a bit, and with Apple Script we could make it a bit simpler, directly in Photos: This will save the installation of exiftool and the necessity to export the files. This way the lossless workflow will be preserved.

Great work, léonie! You should make that into a user tip. 🙂


I'm curious. Have you tried this with a large number of images selected? I ask because while I was experimenting with Photos' Applescript support, I wrote a script to add a keyword to every item in its library. I wrote about that in Anyone scripting Photos.app yet? in the OS X technologies forum because I noticed that (I think) Photos takes a brief amount of time to add keywords, & without the delay I added to that script it ran faster than Photos could handle & produce errors.


The mechanism for handling keyword additions is probably different from replacing an empty title with a non-empty one, but if anyone finds that your script chokes with lots of images selected (or mods the script to batch change all the images at once) the fix might be to add a delay, although of course that will mean the script could take a long time to run.

Apr 13, 2015 4:28 AM in response to R C-R

I'm curious. Have you tried this with a large number of images selected?

Thanks, R C-R. No, I have not yet migrated a large library, so I could only test with a hundred photos in a test library. That worked well. I'll have to look at the OS X technologies forum, it seems, to look for more Photos Scripts.


I like your script. How about a User Tip?

Apr 13, 2015 5:07 AM in response to léonie

léonie wrote:

No, I have not yet migrated a large library, so I could only test with a hundred photos in a test library.

That should be more than enough to tell if the script needs a delay, assuming you selected that many for one run. If it didn't error out with that, it should be fine as is.

I like your script. How about a User Tip?

I'm not sure how useful my script would be, at least in its present form. There is also the delay thing to consider: I don't know if the delay time would have to be adjusted for slower Macs or larger libraries, & I don't have any good way to test for that.

Apr 13, 2015 9:40 AM in response to léonie

I thought this script would solve my problems - but I can't seem to get it to install as a service - at least, when I check Photos>Services it doesn't show up.


I get as far as creating a new service and dragging the "run apple script" action to the workflow. I then paste in your script. However, at that point, my screen doesn't look like your clip - I don't see the "Service Receives box in Photos App" and the other options I see at the top of your clip. (I do see the Run Apple Script Box as in your clip.) I think that is why when I save it (I chose my desktop) it never makes it to a Photos service. I'm missing something fundamental here. Any idea of where I went wrong?


David

Apr 13, 2015 3:32 PM in response to DRedfearn

DRedfearn wrote:

I get as far as creating a new service and dragging the "run apple script" action to the workflow. I then paste in your script. However, at that point, my screen doesn't look like your clip - I don't see the "Service Receives box in Photos App" and the other options I see at the top of your clip.

It sounds like you started by selecting a Workflow document type in Automator. Instead, try starting by selecting the Service document type:

User uploaded file

Tip: when you are getting errors from Automator workflows from Applescript actions, it is sometimes helpful to run the script in Script Editor & use the log > Results window to see exactly what's going on step by step.

Apr 13, 2015 3:36 PM in response to R C-R

Yep, figured that out. I did try the step mode and get the error immediately. I have to play with it more. I have 2200 images that were named in the filename (they are scanned images of art) that I need to get into the title. Goring forward, I can manually add titles - but I would like to fix the images already scanned in.


David

Apr 13, 2015 3:46 PM in response to R C-R

I got it to run - it seems to help if I don't select too many images to process. I tried this first stepping through the script in the Automator - but now the service also seems to be working. I have no idea why it started working - I changed nothing in the script itself.


I'll have to try this on my wife's art.


Thanks for the suggestions and help.


David

Where are photo file names?

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