Skip to main content
AlexPrint
Inspiring
February 23, 2022
Question

Batch Replace an Smart Object content and export every copy of it into single JPG versions in folder

  • February 23, 2022
  • 2 replies
  • 1143 views

Hello, I hope someone can help me, I am trying to create or find ans script to help me to process in batch multiple views of diferent psd files, Attached is an image to try to explain better, 

I have a PSD file with multiple templates (artboards) inside each is a copy of an only one smart object ("master")

 

What I do manually, is open my edit an smart object in my PSD replacing the contects for a new image (another PSD file inside), then I close the smart object so all the present copies change acording to the new contents but keep the individual transformations and efects, then I select all the smart object copies and export to individual JPG files (around 10 for each image)

 

what I pretend to do, is to use batch process to apply the same templates to multiple psd files generating a folder for each with the N jpg versions inside, 

 

it may be complicated, not sure, still learning, I hope to find a way to do this, I am open to different aproach, or other ways to do the same results in a less complicated or more elegant and short way if possible.

 

Thank you in advance for you help.

Sample screenshot in the next link:

https://www.dropbox.com/s/lk6uv1eli5nc9zs/Daniel.png?raw=1

This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
February 23, 2022

One such example script here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/script-for-phone-case-mockup/td-p/10637699

 

Using artboards complicates the process, so you will need to find code that loops over all artboards, good luck!

Kukurykus
Legend
February 23, 2022

Browse the forum - there are plenty of snippets for each phase of presented process.

 

By the way, was my answer in Script to select a file based on layer text that you were looking for?

AlexPrint
AlexPrintAuthor
Inspiring
March 2, 2022

Thank you very much, I am working in fit my project into something less complicated without the artboards part, the link is very helpfull indeed, thank you

Kukurykus
Legend
March 2, 2022

Regarding the other thread, can you share what was your solution to that problem?