I have some layers in a PSD that are named "@bounds". I'd like to create an action that will either show or hide any layers in the doc that match that layer name. Is this something that can be done through Actions?
You can find more information here: http://www.adobe.com/devnet/photoshop/scripting.html
If you're using CS6 (cloud version) or CC, the Layers panel allows you to filter the visibility of layers by name.
At the moment, filtering isn't something you can record in an action, although it's probably been added to what's scriptable (I've not checked). It does, however, make selective hide/unhide very quick and easy.
Change the filter from
Name and type in the text you want to filter for.
From there, it's a quick swipe of the mouse down the eyeballs to hide or unhide all those layers.
The red button toggles the filter off and on, so you can go back and forth very quickly. The text is also sticky, allowing you to use other filters for different purposes, and switch back to "Text" with your entry intact.
Yes you can do that. You have to name your layer first then be sure that this layer is not selected when you start recording your action. After that you only have to hide it and the action will record . Then just stop recording. If you want to make an action to unhide it you have to do another action layer and record with the same process but just instead of hiding the layer you unhide it. In my presets I've done that, I have two fonctions, F2 hide the "Rough" layer and F3 unhide the "Rough" layer. I hope I've been clear.