Layer - new Adjustment Layer - Black And White...
Hi all.
I would create a new Black and White Adjustment layer inside a CEP Panel (CC 2018) but it seems a big trouble.
Reading the Photoshop CC Javascript Reference is simple:
var newLayer = app.activeDocument.artLayers.add();
newLayer.kind = LayerKind.BLACKANDWHITE;
Why doesn't work? Nobody knows. Is it a bug?
I know that exist the Script Listener Plugin, but wouldn't use it because I would lose the control of my code.
I don't think that commercial panels are written using the Script Listener Plugin ![]()
Are there alternatives or suggestions?
