Copy link to clipboard
Copied
Hi
I want to know if it is possible to fold and unfold a layerset with a script (js).
I wrote a script that create a lot of layers with layerSets.
I want the same thing to happen as when you click the tiny triangle besides a layerset.
Thank you.(*´∀`*)ノ″
Nakamori
Have a look at this thread...
http://www.ps-scripts.com/bb/viewtopic.php?f=9&t=3235&sid=8fcf40e33d85e8f73bffecc29f8f331a
Copy link to clipboard
Copied
Have a look at this thread...
http://www.ps-scripts.com/bb/viewtopic.php?f=9&t=3235&sid=8fcf40e33d85e8f73bffecc29f8f331a
Copy link to clipboard
Copied
Thank you for information!
I got it!
ヽ(*⌒∇⌒*)ノ::・'゚☆。.::・'゚★。.::・'゚☆。ワーイ!!
Nakamori
Copy link to clipboard
Copied
Hi Paul,
The link is no longer live. Please share Your knowledge in this topic! I would like to restore the folded/unfolded state of my layerSets after script run.
Thanks,
Oliver
Copy link to clipboard
Copied
There is a script here buliarca's scripts BCM Tools
Copy link to clipboard
Copied
SuperMerlin, You saved me again.
After watching the function closeGroup() step by step in ExtendScript toolkit debugger, I realized the trick is if we "ungroup" and "regroup" the layerSet, it will be created as folded. Nice workaround!
Thank You!
Oliver