Add layers from other psd file via action/batch (Or possibly script)

Hi
Brand new to this forum. Quick intro: Eivind from Norway, 32, Photographer, Nikon D300, CS5
I have tried to make a action where i open 2 files, duplicate the layers from file2 to file1 and it works fine.
But running the action as a batch i get in trouble, the action saves the from and to filenames when i duplicate the layers.
Then i found the place function (File - Place..) but i ran in to trouble here also. When i place a psd file containing the layers it becomes smart objects and i can't edit the text layers directly.
Background: I have a script that copys info from the filename to specific labeled text layers in photoshop. (Name_Age_Title.jpg) so i can batch process lots of files and add info boxes from the filename (Fantastic) Only problem is the i want to make lots of different layouts, logos, fonts. And no i have to adjust the action for every change. Would have been perfect to just have a action/batch/script opening the file, adding the layers from a template1.psd file, running the script adding text to the text layers and saving.
Any ideas?
Eivind

No comments on this one?
Maybe i have to do the scriping way, any ideas?
Eivind

Similar Messages

  • Add layers from other psd file and retain text layers (Batch processing)

    I want to batch process a large number of portraits adding text info from the filename (year_name_number.jpg) to existing text layers. I want to make a template psd file containg the correct labeled text layers formatted and adjusted (With bleding effects and more) How can i add layers from an other psd file to the active document and retaining the text layers editable. The place command in PS5 adds the file as a smart object, no use.
    Any ideas?
    I tried the combined action/script way, but no joy so far. Right now i am making the text layers with a action, then calling the script from the action. It works but its difficult to make different templates from adjusting a action.
    The code i am using now (in combination with a action creating the 3 text layers and other grapchical elements)
    var docRef = activeDocument;
    // strip the extension off
    var fileNameNoExtension = docRef.name;
    fileNameNoExtension = fileNameNoExtension.split( "_" );
    if ( fileNameNoExtension.length > 1 ) {
                    fileNameNoExtension.length--;
    fileNameNoExtension = fileNameNoExtension.join("_");
    var myString = fileNameNoExtension;
    var mySplitResult = myString.split("_");
    var textLayer = docReflayers['Year']; // define the existing text layer to a var
    docRef.activeLayer = textLayer;
    textLayer.kind = LayerKind.TEXT;
    var T1 = textLayer.textItem;
    T1.contents = mySplitResult[0]
    var textLayer = docRef.layers['Name']; // define the existing text layer to a var
    docRef.activeLayer = textLayer;
    textLayer.kind = LayerKind.TEXT;
    var T2 = textLayer.textItem;
    T2.contents = mySplitResult[1]
    var textLayer = docRef.layers['Number']; // define the existing text layer to a var
    docRef.activeLayer = textLayer;
    textLayer.kind = LayerKind.TEXT;
    var T3 = textLayer.textItem;
    T3.contents = mySplitResult[2]
    Thanks
    Eivind

    norway_photo wrote:
    Here is my intended workflow:
    - A set of same size portraits labeled "year_name_number.jpg"
    - A template.psd os same size with graphical elements and text layers (named "year", "name" and "number")
    - A script or action copy/pasting og adding all layers from the template.psd file to the open portrait file, retaining text layers editable.
    - A script (The one i have working) changing the text layers added from the template to text from the filename.
    - A action saving this as a PDF ready for print.
    This way i can process a large number of portraits, add names and other information and save it as a file ready for print.
    I can image it is much easier to edit a template than writing a script or an action creating all the graphical elements.
    And even better, to change this template for different customers/departments/logos.
    Basically i need a way to add layers to an open file using a batch file or script.
    Eivind
    OK I understand what your trying to do and now I do not agree with your conclusion you made in you first append about place being no good for you.  Its is I think a perfect solution for you. I feel you need to address the process from a new angle.
    I am very familiar with templates I use them all the time for collages which I populate with an actions.  However I do not batch this process and my process is interactive.  If you look at what your trying to do from the angle of creating a collage.  You will see what you are trying to do is automate the population of a single image collage using a single template in a batch process.  An example of one of my single image collage populated by one of my actions that has been saved as a jpeg image file.  My actions are played in Photoshop with no document opened.  After my action is play there is a single collage document in Photoshop that contains layers that can be tweaked all text is in text layers the can be edited.
    If I wanted to automate the batch population of a single collage template I think all I would need to know is three thing.
    1.) The location of the input images
    2.) The full Path of the PSD template file.
    3.) The location to store the output  file
    Looking at some of the recent threads in this forum I could almost cut and past the script you want to put  together.  There was a recent thread that had javascript code to process files in a folder and process only a list of file types.   There also was a thread that had a place function in it to place images into the current document or create a new document to place the image into.  The image was read from the web using a URL.  This thread has code to change a text layer.  At first I though you may need to open these image file to get at its meta-data to get the Portrait image Exif creation data.  But see all you need is the Filename for it has the data you want the year and name.  So the function that get the image files from the folder will give you that. The   Script needs to Open the Template PSD file and retrieve the prototype text layers text content  then the scrip needs a loop that get the next image file to be processed from the folder get filename function. In the loop the image files are place into the open template above a place holder layer like the Background layer. Then using the prototype text contents and the filename are used  create the new content for the text layer and then change the text layers content to it.  Follow that up with a save as for the output file.  Once the output file is saved delete the placed smart object layer.  When this loop ends the script will close the document with no save and end. As for the three inputs you need  the script could either have a dialog like the images processor or simply prompt you for the folders and template file.

  • Why can't I see the layers of cs4 .psd files passed to me in photoshop elements 11?

    why can't I see the layers from cs4 .psd files passed to me in photoshop elements 11?

    You should be able to see normal layers, but PSE doesn't understand layer groups/sets or comp layers. The inexpensive add-on elements+ from simplephotoshop.com will let you expand layer groups. (If you also have Premiere Elements installed you should be able to see layer groups in PSE without adding anything.)

  • How to read the 'full resolution composite' from a .psd file?

    I'm working with 16-bit .psd files and have the "maximize compatibility" switch turned on in CS2. When a file is saved, a message box appears indicating that PS is generating a "full resolution composite." I'd guess this is stored in the .psd file somehow, because some of the 3rd party image viewers are able to display the image when the compatibility switch is used, but are unable to display the image otherwise.
    My question is: how can I read this full resolution composite from the .psd file outside of Photoshop?
    If this is the wrong forum to post this question, I'd appreciate it of you'd tell me a better place.
    Thanks,
    Dave H.

    As you guess, it is stored in the PSD, but only with the Maximise Compatibility switch. Without that switch, a dummy image is stored which has the text "This layered Photoshop file was not saved with a composite image.", in English, German, Japanese and French.
    My program
    psdparse extracts each layer in an 8-bit file as a PNG, and the merged image for both 8- and 16-bit files. That link is to a Subversion repository containing source code.

  • Photoshop touch can I edit the text from a psd file with that app ....

    Can photoshop touch edit the text from a psd file from my iMac on my ipad with that app ....

    I don't think you can because a Photoshop file (PSD) with layers will be flattened when you open up in Photoshop Touch.
    I prepared a Photoshop file with one layer of image, one layer of text over a background using Photoshop CS6 on my Mac Pro and upload the PSD file onto Creative Cloud. I then open this file in Photoshop Touch (on iPad) but it comes out as a single flat layer merging all three layers. Hope this helps.
    Below: 3 layers in Photoshop CS6 (with one layer of text)
    Below: Flattened into one layer in Photoshop Touch..

  • Creation of a shipping notification for a PO in EBP from a XML file via XI.

    Hi everybody.
    We are trying to create a shipping notification for a Purchase Order in Enterprise Buyer from a XML file via XI.
    For to do it, we are using ‘DespatchedDeliveryNotification_In’ message interface (transaction SPROXY).
    But when we execute it, the system show us next message:
    "An error occured within an XI interface: An exception with the type CX_GDT_CONVERSION occurred, but was neither handled locally, nor declared in a RAISING clause Programm: SAPLBBP_BD_MAPPING_SAPXML1; Include: LBBP_BD_MAPPING_SAPXML1F5B; Line: 4"
    No more information is available.
    Is there any additional transaction to see more information about the error message?
    Is there any documentation about this XML file, mandatory fields, examples…?
    We populated some fields in our XML file, but we do not know if the problem is with mandatory fields, data, program error…
    I will thank for any information
    Thanks in advance.
    Raúl Moncada.

    Raúl,
    This is because of the inbound UOM.
    The include LBBP_BD_MAPPING_SAPXML1F5B is in charge of mapping the item Unit Of Mesure (UOM) sent in the ASN XML file (it should be an ISO code).
    You can test FM UNIT_OF_MEASURE_ISO_TO_SAP with this inbound ISO code.
    PS: you should create an OSS message so the mapping sends back an error message instead of generating an uncatched exception (that generates a dump).
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • How can I copy layers from one .fla file to another .fla file?

    Hi,
    How can I copy layers from one .fla file to another .fla file? Please do help.
    Thanks.

    Select all the frames you want to copy, right click and select copy frames then select the file you want to paste them into and right click again and then paste frames.
    The layers the frames are should come across with them.

  • Not possible to add individuals from other sales orgs into activities

    We are completing the upgrade of our web ic from version 4.0 sp 6 to crm 2007 sp4.  In our 4.0 system usesr were able to create activities and add employees from other business units without issue.  Since our upgrade to 2007 we now have the issue that if a user working in one specific sales org wants to add an employee of another sales org as an attendee or as a towards awareness in our activities within the web ic the system complains.  It stops the user from adding the employee stating that the BP number in question is not valid for this sales org.  No furtherinformation is available.  How can we switch this off? 
    Just to be clear neither our org sturcture nor our org determination proceedures have changed within our transactions used within the web ic's have changed during the upgrade.
    Thanks in advance
    Eddie

    Hi eddie,
    This mioght be an authorization issue, check for the authorization of the role you are using
    thanks regards
    Raj

  • Can livecycle forms be distinguished from other PDF files?

    Can livecycle forms be distinguished from other PDF files within their Uniform Type Identifiers, or within the meta-data?

    You can check value of the 'PDF Producer' field under File -> Document Properties (Description Tab)
    Thanks,
    Varun Nohria

  • Org Tech Admin can add user from other org?

    We are currently on a trial run with CIAC, and I am testing User Management with a Organization Tech Admin account (OTA).
    To my suprise, when adding user and select "existing user", I can see every account currently on Cloud Portal, and even successfully add user from other organization to my orgnization.
    Is there anyway so that OTA can see only the users in their own organization?

    I've been able to remove the admin role from a site administrator with an OTA.
    I know there are issues when you log with an user then logout and relog with another user, CIAC considers that you are still the previous user (I've encountered the issue several times in portlets in the nsapi requests). I don't know if/how those issues are related, but I'd say that logout/login issue were an user has the same rights than the previous users should be fixed.
    Changing OTA rights will not change that particular issue.
    For the moment, what we've done is create our own servlet for requests to the sql DB, and our own roles for most services.
    Let's see what v4 has in store for us.

  • How to save layers of a PSD file?

    I am a software developer and I have received a PSD file from a client. I need to be able to save the individual layers so I can apply them to the user interface. I've tried some suggestions from on-line sources but I'm still not able to export the images. The image below is what I am seeing for layers.
    All suggestions appreciated.

    The problem is that Photoshop Elements does not natively open layer sets. You'll either have to have your client send you the PSD file(s) with the layers not in layer sets or find a workaround.
    (You try a trial of Photoshop if you haven't tried out CS5 yet and do it in Photoshop. While you have the trial, you could record an action to open layer sets that could be used in Elements if you decide not to purchase Photoshop. See the Elements thread I linked...Post 6 which gives details on how to write that action.)
    http://www.adobe.com/downloads/
    Some have found that you can open them if you use an action.  There is a link to a freebie action written for E7 on the Elements Village forum. I don't have any personal experience with the action nor know if it still works in E8. You'll have to register to get access to the action file but the registration page says it's free (unless otherwise specified). I'm not a member of this particular site so can't say what the otherwise specified means.
    See post #6 on this page which gives details on how the action is written and where to install along with an action that has a download link:
    http://www.elementsvillage.com/forums/showthread.php?t=48026

  • How do I import several layers from one Illustrator file into another Illustrator file?

    Hi!
    I have ten Illustrator documents with appr. 100 layers in each document.
    Each layer in all documents are named correctly for automatic script exporting to PNG files.
    Now I want to import all layers from all ten documents into one master file. And importantly, I want to keep the exact names of each layer.
    Thank you for any help on this!
    David

    Layers Palette flyout >> Paste remebers layers (Enable)
    Now when you paste the layer names will come over.

  • Easy way to add content from a last file like a word document?

    Is there somebody who can tell me how i can display content from a word file.
    I have files with content inside on my network for example a word document.
    Inside this document i've got hyperlinks to content on other pages from the same document. Is the a way or a method how i can display the content in the portal.
    Do i need to cut and paste the word content of should i save the content as a XML or a HTML document and then add the document to portal
    Regards
    Andre

    Yeah, I have an idea... Have you tried the pdf export yet? If it is already formated then that maybe the way to go. But you may need acrobat to save it in another format. If I recall InDesign renders the pdf, which would make editing the pdf in Indesign useless.
    OK, did a quick test with PDF. Load the PDF into Acrobat and save as a word file. Place the word file into InDesign and you will have the styles paragraphs.    You just have to alter the style taste, may be fix a few paragraphs if needed.

  • Creating a new title template from a .psd file

    We weren't happy with any of the lower thirds that Premiere had for us, so I got one of the people in my office to create a lower third that would look nicer, but now I've just got this .psd image that I don't seem to be able to get into title form.
    Its just an image of a thought bubble that says "science tips" and then a darly shaded rectangle with blue text inside of it, but when I try to import the .psd image as a logo in the titler screen it comes up with the thought bubble very washed out and see through ( the thought bubble is white on the inside in the .psd file) and the darkly shaded area doesn't show up at all.
    I fell this may be a photoshop error on my part as likely as anything else,  but mostly, I'm wondering if bringing it in as a logo is the right way to go?
    -Dan

    Ann,
    I like that workflow.
    I handle my "custom" Lower-Thirds (or similar) just a bit differently. I create the artwork in PS, and then Import that as an Asset. I'll then do a regular Title for just the text, placing it above the PSD of my graphic. My workflow does mean that I will need to Import that PSD into each Project, but I put a copy into my Common Assets folder, for ease of Importing, as is required. I can also individually animate each element, as is needed. If I wish to animate the Layered elements of the graphic, I'll Import as a Sequence, keeping my Layers, but with Lower-Thirds, I usually end up animating both the graphic and the text as a unit, i.e. the same Keyframing for each of those elements.
    Your method will all one to do a full Save_As a Template, and allow for easy changes of the text, as the graphic is but a logo. Neat!
    Thanks,
    Hunt

  • How do colleagues add comments and review .psd files in Acrobat?

    i work in Photoshop, would like to be able to collaborate with assistants and clients online - like, i believe, Adobe Live used to do...
    thx,
    c.

    Hi Bonus Studio,
    If you'd like folks to comment on your files in Acrobat, you'll need to first save your .psd files as PDFs. Then, your assistants and clients can open the PDFs in either Adobe Reader or Acrobat and use the commenting tools to add their comments.
    Best,
    Sara

Maybe you are looking for

  • When i go to a website for drummers it wont let me click on a drummer to watch video it did before ,dont know what happened

    i cannot click to veiw video ,i cannot click my address book for e-mail addresses ,i can go to websites but once i get there it wont let me do anything

  • WritePreprocessNotifier not working for PDF

    Hello everybody, for my Plugin I need to remove artobjects from the document before saving and add them again after saving. I used the kAIDocumentWritePreprocessNotifier which worked perfect for all *.ai files. BUT with *.pdf it doesn't work. Opening

  • Problem Installing final Cut Express HD 3.5

    I am presently using Final Cut Express 2.0. Trying to upgrade to Final Cut Express HD 3.5. After the installer asks for the Product Serial#, it stops installing for lack of Hard drive space (never see a Custom install window where I could install Liv

  • Student Premiere pro cs4...please help

    I brought cs4 education suite, and recieved a serial code but the problem is my computer is really old and I can't buy a new one yet and it can't hold all the programs on the disc. I was just wondering if I installed one or two programs and input the

  • Hierarchy issue

    Hello Experts, I have question regarding, my bex query has cost center hierarchy , when i see the hierarchy variable in bex analyzer, it shows up so many levels and also sublevels below those levels.In webi i can see some levels randomly, my webi is