Skip to main content
Participant
November 22, 2022
Answered

How to automate actions with smart objects?

  • November 22, 2022
  • 2 replies
  • 1089 views

Hi everyone,

 

I have a mockup of a picture frame where the photo inside of the frame is changeable via smart object. I have a folder of dozens of photos that I would like to automate replacing the photo in the frame so I don't have to do it manually.

 

The problem is when I record an Action of myself opening the smart object, placing a photo, and closing it, I tried to use File>Automate>Batch to do this on all the photos in the folder. But as soon as the step comes to open the smart object, I get an error "the command select is not currently available," then "command edit contents is not currently available."

 

How can I automate this process using actions and the batch function correctly?

 

Thanks

 

This topic has been closed for replies.
Correct answer Stephen Marsh

You may need to use a different approach for smart object replacement for batch actions or alternatively use a script instead of a batch action.

 

There are many mock-up scripts posted in the forum that use smart objects if you use the search feature.

 

Otherwise:

 

https://github.com/MarshySwamp/JJMack-Archive

2 replies

Bojan Živković11378569
Community Expert
Community Expert
November 23, 2022

Alternate way of replacing images is using Data driven graphics Creating data-driven graphics in Photoshop (adobe.com), its worth to know.

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
November 22, 2022

You may need to use a different approach for smart object replacement for batch actions or alternatively use a script instead of a batch action.

 

There are many mock-up scripts posted in the forum that use smart objects if you use the search feature.

 

Otherwise:

 

https://github.com/MarshySwamp/JJMack-Archive

Josie_01Author
Participant
November 22, 2022

Hi I actually figured it out using those scripts. Thank you!