How to close a layer folder on Photoshop using CEP/ExtendScript/JavaScript?


I’m developing an extension in Photoshop and I need to close a layers folder (containing a lot of information) to make the layers view cleaner.
I haven’t found anything in the Photoshop documentation and nothing on the forums.

From :

enter image description here

To :

enter image description here

Thanks in advance for your help !


Thank you Ghoul Fool for finding this thread :

Answered By – Fitspade

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published