Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to convert each folder to smart objects in Photoshop using script?

Community Beginner ,
Jul 28, 2022 Jul 28, 2022

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

Friskila2521109341c3_0-1659022144086.png

After

Friskila2521109341c3_1-1659022370525.png

 

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 😄

TOPICS
Actions and scripting
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 3 Correct answers

Community Expert , Jul 31, 2022 Jul 31, 2022

The script from @Kukurykus in the first link works on both selected layers and layer groups/sets.

 

In the second link, the script that I posted works on all top-level layers and layer groups/sets, without requiring a layer to be selected. Also in the second link are two scripts from @jazz-y  that work with selected or all layers/groups.

Translate
Community Beginner , Jul 31, 2022 Jul 31, 2022

Thank you very much! I've tried the second link! It works~

Translate
Adobe
Community Expert ,
Jul 30, 2022 Jul 30, 2022

Compliments on posting meaningful screenshots right away! 

 

Are there Groups in the Groups? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2022 Jul 31, 2022

Yes, there ae~!

Can Scripts do it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2022 Jul 30, 2022
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2022 Jul 31, 2022

Thank you for the information. I've read that. But that applies to layers only.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 31, 2022 Jul 31, 2022

The script from @Kukurykus in the first link works on both selected layers and layer groups/sets.

 

In the second link, the script that I posted works on all top-level layers and layer groups/sets, without requiring a layer to be selected. Also in the second link are two scripts from @jazz-y  that work with selected or all layers/groups.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2022 Jul 31, 2022
LATEST

Thank you very much! I've tried the second link! It works~

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines