Last active
December 30, 2015 23:45
-
-
Save Lokno/c0769aabeca4cf81f671 to your computer and use it in GitHub Desktop.
Toggle the hue and saturation adjustment layers 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
#target photoshop | |
var currentDoc = app.activeDocument; | |
for ( var i = 0; i < currentDoc.layers.length; i++ ) { | |
var layer = currentDoc.layers[i]; | |
if( layer.kind === LayerKind.HUESATURATION ) | |
{ | |
layer.visible = layer.visible ? false : true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install by saving to PHOTOSHOP_DIRECTORY/Presets/Scripts
Also works just by opening it with File->Open..
Once installed, you can add an action to run it with a keyboard shortcut