I have also asked this here recently and tried some old(?) snippet from Kukurykus that seems not to be working, or that I don't understand how to use...?
I'm really looking for a way to avoid the classic problem of a merged layer to appear inside a group when that command was given with an open group selected... (AFAIK, you can't first close a group by script either?) If I can test if the MERGED LAYER was created inside a group, I can move it out bef...
When we Alt/Option click the eye on a layer, we see this layer only. I wish PS had native functionality to do this inside a layer group only, keeping what was visible outside of it untouched. This way you can switch between, for example, variations you made inside a layer group (and not needing Laye...
^ This kind of thing is indeed generally working :) Except, the obvious and seemingly existing 'closeLayerCompsPanel' is not working for me (Adobe bug?) . So I have to blast the whole LayerCompsPanelGroup which can give a small jump on the screen... #target photoshop if ( doc.layers.length !== 1 ) {...
There are several "events" or actions where I like to have a specific palette pop/toggle into view 8-) When you are careful you can often prevent these toggles from making your palette disappear instead (by planning to not have it active when it likely gets toggled), but I have not yet fou...