Skip to main content
donaldr68289323
Participant
May 8, 2024
Question

Need help creating script

  • May 8, 2024
  • 3 replies
  • 164 views

I have several hundred files each one contains two jpg photos each. I would like to create a script to separate the photos and save them as separate jpg files. Any and all help will be greatly appreciated.

This topic has been closed for replies.

3 replies

Legend
May 8, 2024

Post some screenshots or sample files so we know what you are working with.

Stephen Marsh
Community Expert
Community Expert
May 8, 2024

@donaldr68289323 

 

Are all of the layered files at the root/top level of a single folder?

 

Are all of the layered files in sub-folders under a main top-level folder?

 

How will the files be named? Something like: DocName_LayerName.jpg ?

 

Where will the files be saved? To a new folder on say the desktop? Or loose, alongside the original files, or in a new folder alongside the original files?

 

Do you wish to Save or Export > Save for Web?

Stephen Marsh
Community Expert
Community Expert
May 8, 2024

@donaldr68289323 

 

The following scripts are not intended or suitable for batch processing, so they would need to be run manually over each file (and you have "hundreds", so this isn't great).

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx

 

I have only included these scripts in my initial reply for completeness.

 

I should have a script in my archive to work in batches, however, if I don't it shouldn't be too much work to adapt an existing script for you.