PhotoshopForums.com Home
Navigate Contact FAQ Search Members
moving group of layers from one psd to another using action?
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion
 See a User Guidelines violation? Please contact us.
Author Message

foxdog175

Joined: 11 Mar 2010
Posts: 3



PostPosted: Wed Dec 22, 2010 3:03 pm    Post subject: moving group of layers from one psd to another using action? Reply with quote

Is it possible to automatically transfer a group of layers that use blending modes from one psd to other files via Batch?

I have ~500 jpg textures. They each need a group of shading layers added to them from a specific psd (on top of a ton of other steps to my action that work just fine). The quickest way to do that obviously is just to use an action and Batch Process. However, I'm not able to find a way to transfer that group from one psd to my textures since some of the layers use blending modes.

So, basically I have an action that performs a lot of different steps and the last thing I need to add to it is the ability to drag (or place) a group of layers from one psd to each individual texture in my Patch Process.

What I've tried:
1) I've tried using File/Place… to insert my psd containing the group on top of the texture, but Placing a psd converts everything into a Smart Object, which ignores all of the individual layers/blending modes.
2) I've tried moving the Shading group from the Kitchen PSD into the texture file, but actions don't seem to record moving layers/groups between PSD's.
3) I've tried duplicating the shading group and making the "Destination" the texture file, but that won't work dynamically as it looks for a certain file name to duplicate the folder to. To counter this, I thought I could immediately save the texture as "temp.psd", then run through all of the other actions, including the duplicate-to-destination function (which would find temp.psd and put the folder there). But then I run into the issue of not being able to use the Override Save option in Batch Processing, which means I couldn't dynamically save each file with a specific naming convention.

---

Does anyone have any ideas of what I could add to my action that would allow me to place the psd's group in each texture? I'm running out ideas…maybe a script of some sort?

Any help on the subject would be GREATLY appreciated. If there's any confusion, just let me know and I'll do my best to clarify.

Thanks!
Bret

---

UPDATE: my issue has been solved with the following script, thanks to another forum-goer:

#target photoshop
var myDoc = app.activeDocument;
var theLayerSetDoc = app.documents.getByName("Untitled-1");
app.activeDocument = theLayerSetDoc;
var theSet = theLayerSetDoc.layerSets.getByName("Group 1");
theSet.duplicate(myDoc, ElementPlacement.PLACEATBEGINNING);
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> General Photoshop and Design Discussion All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com