Created
September 3, 2019 00:27
-
-
Save marko-galesic/dc7d9d37db8b08250203cb2f19986d63 to your computer and use it in GitHub Desktop.
Show Only One Group in Photoshop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var doc = app.activeDocument | |
for (var l = 0; l < doc.layerSets.length; l++) { | |
if ( doc.layerSets[l].name == "yourGroupName" ) { | |
doc.layerSets[l].visible = true; | |
} else { | |
doc.layerSets[l].visible = false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment