![]() ![]() Now use the mouse/trackpad to click back in the Get Info window once, and again into the title field. Click in Get Info in the title field, type in the name, move your hand to the mouse/trackpad, click into the main photos app, and hit the right arrow to advance to the next slide. Let’s say we’ve got the image up big, and we’ve already brought up Get Info. But naming in Get Info is even more tedious. From there you can’t see the title, unless you bring up the Get Info window I talked about. I also prefer to have the image up big on screen, by double clicking on it. In the thumbnail view, you can click into each title field and type the name you want to give the image, but you have to take your hands off of the keyboard and use your mouse or trackpad to click into the next image’s title field. ![]() That’s a handy little option where you can also see things like the EXIF data of your image – camera, lens focal length, ISO, aperture and exposure time for example. You can also view the title by doing a Get Info on an image. Once you select it, you’ll see in light grey, “untitled” under your images. If you go into the menus to View and pull down to Metadata, you can select different options to view, one of which is the title. In Apple Photos in the thumbnail view, by default, you don’t see the title of the image. ![]() By default, images in Photos have no titles. Before I start though, note that the title of an image in Photos has nothing to do with the file name of the image. Let’s walk through the process of entitling images in Apple Photos, with a couple of ways to do that without automation. I name pretty close to 75% of my images, and as a result even on on my iPhone I can search for just about anything and find the photo I’m looking for. I didn’t really care so much about the dictation part, but I like to name my images and it’s incredibly tedious to do in Apple Photos. Speaking of naming images, I mentioned that Sal showed us how using dictation he can edit the titles of his images in Photos. You have no idea how happy this makes me! Now when I’m working on files for upload, I can just drag them onto the icon and my spaces will disappear and turn into underscores. Then I dragged my little app up into the menubar of my Finder window. I exported that as a JPG, did a Get Info on my new little app, and pasted my stupid little logo into the icon box. I saved the Automator workflow as an application, then opened Affinity Designer and created a white square with a really big underscore on it. Up popped a window asking if I wanted to replace the spaces in the listed files with underscores and I clicked Yes. I read far enough in the code to figure out I should probably select some files, and then hit run inside Automator. I opened Automator, dragged in a Run AppleScript block, and dropped in the code I had copied from Kevin and Polly. Don’t tell Bart, but I was in a careless mood and copied the script without reading it first (which you should NEVER do). The cool thing about AppleScript is that you can read it, even if you don’t know how to write it. Immediately I was taken to Replace space with underscore at where Kevin and Polly had posted exactly what I needed! I did a search for “AppleScript replace spaces underscore”. My solution is to go through and change each one of the spaces by hand into underscores. So a file called “Error in Photos” will change into “Error%20in%20Photos” which looks super dumb. I always name my images with spaces in the names, but if I put them on the web with spaces, the space gets turned into the unicode for space, which is %20. I use good descriptions because when I drag them into my blogging tool of choice, MarsEdit, the app will automatically use the title as the ALT tag so screen readers can read it out loud. Those screenshots go into Apple Photos most of the time, and I name the images with fairly descriptive names. I take screenshots as often as most people breathe. When I got back from the conference, I was working on my article for it and I realized I’d been doing something for a decade that could probably be automated. I’m telling you, I’ve descended into madness! In this article I’m going to talk about one quick thing I did in AppleScript in the finder, then tell what I hope is an interesting story of discovery in AppleScript for Photos, then I’ll talk about what I want to do in the future on iOS in Workflow and Keyboard Maestro on the Mac. I’m pretty sure that was their evil plan all along. The CMD-D Conference infected me with the desire to automate everything. ![]()
0 Comments
Leave a Reply. |