Skip to main content
Participant
April 7, 2014
Question

Apply layers depending on name of the pictures

  • April 7, 2014
  • 1 reply
  • 473 views

Hi everyone,

I explain you my situation :

I'd like to apply to a PNG picture, which the name contain numeric string "01", layers (also in png format) which name contain also the numeric string "01".

Example :

Folder A :

Picture_01.png

Picture_03.png

Folder B :

LayerABC_03.png

LayerDFG_04.png

LayerABC_01.png

LayerBCD_01.png

With a script, I'd automatically like to apply all the layers of "Folder B" containing the string "01" to the picture of "Folder A" containing also the string "01". (Same for others numbers : apply every layers of Folder B containing "03" to picture of Folder A contenaining "03" in its name...)

(For sure I've got lots of pictures...that's why I ask this)

Hope my english is not so bad..

I have Creative Cloud on Windows 7.

Thx for your help,

_Cam_

This topic has been closed for replies.

1 reply

Chuck Uebele
Community Expert
Community Expert
April 7, 2014

Do you want to do this for an open image file or do a batch of files from folder A?  Also what OS are you using: Mac or Win?

Participant
April 7, 2014

Hello,

I want to do this for a batch of files frome folder A.

I've got Windows 7 and the master Creative Cloud.

Chuck Uebele
Community Expert
Community Expert
April 8, 2014

download this zip file and try this script.  It will save all the files as psd in a folder called "done" under the target folder that you select.  It will not stop to let you size the placed files.

https://cloud.acrobat.com/file/c412292e-a11a-4aa5-8287-42bf389c175b

Edit: I had the wrong link.  It is correct now.