Skip to main content
Known Participant
February 25, 2014
Question

Batch replace Smart objects in Photoshop

  • February 25, 2014
  • 1 reply
  • 2116 views

Hi all, thanks for taking the time to read this.  I have a file which is attached.

This file contains 6 different layers all using the same smart object.  So If I replace the smart object in one it'll replace them in all.

What I would like to do is to be able to batch replace all smart objects with a file found in an outside folder.  I currently have 500 images and I need to make 500 of the file you see here.

I would need to batch replace the smart object.

Then save the file to a different file name.

Any ideas?  It would greatly be appreciated.

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
February 25, 2014

Do all the files have the same image size and resolution as the existing Smart Object Layer's embedded object?  If they do not it will not be posible .

http://forums.adobe.com/thread/1394113

JJMack
Known Participant
February 25, 2014

Thank you for responding!

Yes they all have the same image and resolution.  They will fit perfectly on the smart object.

I read that post you posted and it got me a little lost.  I tried putting that code and it took me to the select folder but it wouldn't let me select folder.  I'm running on a Mac CS6.

Any recommendations would be much appreciated!

JJMack
Community Expert
Community Expert
February 25, 2014

You could try adding an append to that forum describing the batch process you would like to automate. The author of the script c.pfaffenbichler appended there will more then likely help you with that script. I'm on windows he is a better at Photoshop scripting then myself.  The code I see in that script is to interactively select a replacement files not a folder for each smart object layer of the active document I think. Try using his open dialog and navigate to the replacement file's folder then select the replacement file.  It is not a batch script.  You would need some design work to batch something like that, For selecting source files identify smart object layer and replacement file and not have an interaction with the user for object being replaced.

JJMack