How to convert each folder to smart objects in Photoshop using script?
Greetings,
I've been looking for a Photoshop script that could help me batch convert each folder (all folders in Photoshop file) to smart objects separately. You can see the example below.
Before

After

Currently, I use keyboard shortcut to convert a folder into a smart object, but this way more exhausting if I must convert a large number of folders into smart objects, because the keyboard shortcut just works for one folder only.
I don't know much about JavaScript. But if you find out the script or the other way more faster please help me to solve this problem.
That's all. Thank you in advance 😄
