Batch loading images into layers from two folders

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

catchlights

Batch loading images into layers from two folders

Post by catchlights »

Hi,
I know nothing about scripting, but familiar with actions.

I'm processing some images for timelapse photography, I have two sets of images in two different folders, which I want to place one image into another image from another folder as a layer, than save the file for future editing.

example,
open \background\0001.tiff, load \foreground\0001.tiff into \background\0001.tiff as a layer, save as layered tiff, close it,
open \background\0002.tiff, load \foreground\0002.tiff into \background\0002.tiff as a layer, save as layered tiff, close it,
so on and so forth.

I understand this only can be done with scripting, and it has a few hunreds files in each folders, manually open two files and drag into layers will be very tedious.
Hope I able to get helps from here.

Thank you very much.