Skip to main content
Participant
March 18, 2020
Answered

Copy several JPG in several PSD

  • March 18, 2020
  • 1 reply
  • 1960 views

Good Morning,

We have 1000 directory. 
In each directory there is one JPG and 1 or 2 or 3 PSD. 

We have to paste the JPG that found in each diretory in each PSD in that directory.

Can I use batch?

 

sorry for my english. 

thanks

Franco

This topic has been closed for replies.
Correct answer SuperMerlin

Thanks you very mutch for your job.

But, be patient, I don't know how to use it, I have to create a new script file in automator and past your code and then push play?

 

i'm so sorry.

 

thanks from Italy

Franco

 


This is a Photoshop script not automator.

Save the script as a plain text file with a .jsx extension and save it in Potoshop/Presets/Scripts folder

If Photoshop was open, restart it so that it can pick up the new script.

To use:  File - Scripts - select the script and it will prompt you to select the top level folder.

1 reply

Stephen Marsh
Community Expert
Community Expert
March 18, 2020

I believe that you will need a custom script.

 

A lot more info will be required in order for somebody to offer a scripted solution if you can't write a script.

 

Does the jpg filename vary or is it static? What pixel size and or resolution is the jpg vs the psd?

 

I'd suggest that you attempt to find a similar script to help start this process.

Participant
March 19, 2020

Ok I try to give more infos.

 

We have 1 directory-

In these directory there are some directories.

In hìeach directorry there are 1 file (jpg or tiff) and 1 ore other PSD file.

We have to paste the jpg or tiff in the PSD file and go to the next directory with the same job (take the jpg or tiff and past in all PSD files found in directory)

 

Working on Mac. Latest Photoshop version.

 

thanks

Franco

Legend
March 19, 2020

I would recommend an Automator action to walk through the folders and run a Photoshop script that opened the files and pasted or placed the JPG/TIFF into the PSD.

https://support.apple.com/guide/automator/welcome/mac

https://www.adobe.com/devnet/photoshop/sdk.html