A script to toggle a named layer or group? Not the currently active group.
I wonder if someone help me achieve this please - I need a script to toggle the visibilty of a named layer group, without making it the active group - so I can assign an F Key shortcut to very quickly toggle the layer group. This is for fast retouching. Achieving this is something I've been struggling with recently.
Ideally, best case, I would also like to have a variable within the script - so that this layer group could have one of three potential names. And it would toggle the visibility of whichever of these three groups was present in the file.
Thank you to anyone that can help.
