Last active
February 17, 2018 21:20
-
-
Save joonaspaakko/e8b5d577953e25c0a86903a76a7f4bba to your computer and use it in GitHub Desktop.
Selects the parent group of the currently selected layer.
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
// https://gist.github.com/joonaspaakko/e8b5d577953e25c0a86903a76a7f4bba | |
#target photoshop | |
var doc = app.activeDocument; | |
var layerParent = doc.activeLayer.parent; | |
if ( layerParent !== doc ) doc.activeLayer = layerParent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment