Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this movie, I'll show you a couple of practical applications for search criteria. Namely, we'll hunt down and get rid of empty layers inside of the composition, and search and replace fonts. Now as I was saying, this particular composition contains more than 60 layers, and the more layers you add to a file, the more likely it is that you're going to make small mistakes as you work. And one of the most common mistakes is to create a layer that you never actually use. And if you want to clean things up, just make sure that your file is as streamlined as possible.
Then change the search criteria in the upper left corner of the layers panel to attribute. And then click on the second option here and change it to empty and you'll see a list of every layer that's empty inside the image. So I have this more hair layer that apparently does not contain any hair at all. And then some unnamed layers as well. To delete those layers, press Ctrl+Alt+A or Cmd+Option+A on a Mac and then just press the backspace key on the PC or the delete key on a Mac. Now in my case that's not working because on the PC these popup menus are sticky.
You can see this little blue line around the word empty. In which case, go ahead and press the Esc key in order to deactivate that option and then press the backspace key in order to delete the selected layers. And you can delete them with impunity because after all, Photoshop is telling you that there is not a single pixel active inside the layer. Alright, now let's take a look at searching and replacing fonts. We'll go ahead and switch over to this document here. This document happens to make use of the font Skia, which is created and distributed by Apple and therefore it's commonly available on the Mac.
However, if you are working in a PC, then more likely than not, you're going to end up with this error message right here that tells you that some of the fonts are missing. In which case, just go ahead and click OK. And now notice here inside the list that we have text layers all over the place with these little warnings next to them. To get rid of all the clutter, go ahead and switch the search criteria back to kind, and then click on the little t icon so that you're only seeing the text layers inside of the image.
Now, because all of these text layers have warning icons next to them, at least in my case, then you can press Ctrl+Alt+A, or Cmd+Option+A on a Mac, in order to select all those layers. Then press the t key, in order to switch over to the type tool here, which you can also select from the toolbox. Then select the font option up here, and dial in any other font you like. In my case I'm going to type in Skia which may not seem like it makes any sense. But it's a different version of Skia that you can download for free on the Internet.
And then I'll go ahead and press the Enter key or the Return key on a Mac in order to apply that change. Now, everything about this process is as streamlined as you can imagine. Except this part right here, where Photoshop has to warn you over and over again that you're replacing a missing font. So you just have to sit there and click on the OK button until those merciless alert messages go away. But in any event, now you can see that all of my text layers have updated.
If that doesn't turn out to be the effect you want, then just go ahead and switch over to a different font. For example, I'll select the font option and dial in Myriad, which will automatically get me Myriad Pro. And I'll press the Enter or Return key to automatically update the text layers this time around. And the reason I didn't get the alert messages, is because the text layers were associated with a font that's installed in my system. Now some of these text layers, as you could see, are a little bit squished. So I'm going to go ahead and bring up my character panel here, which I can also get to by choosing Character from the Window menu.
And I'm going to click on the horizontal scale option. It says that my text is scaled to 100%, but that's not actually true for all the layers. So I'll just go ahead and press the up arrow key and press the Enter key in order to increase that value to 101. And then I end up getting more or less properly scaled text. If you don't want 101, you really want 100%, then click in that option and press the down arrow key and then press the Enter key or the Return key on a Mac in order to apply that change. So there you have it, just two of the many possible practical applications of the search criteria.
In one case, a way to hunt down and destroy empty layers. And in the other case, a way to search and replace fonts here inside Photoshop.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 42641 Viewers
119 Video lessons · 54004 Viewers
65 Video lessons · 14326 Viewers
113 Video lessons · 82827 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.