Can a script be written to take the next 2 files in a folder and place them on a background image..then saving with the first images filename..?

Hello all, I hope you can help.
In Photoshop I have a problem to overcome and have delved into the world of scripting..
If there is a quick way to produce the following could someone help me with some pointers?
Here is my situation..
I need to produce a photograph proof card, these are for a double image option so cause me a headache compared to just creating an action..
This proof card really is just a set of two different photographs placed onto a background image.
I would produce two different images of the same person and name them exactly the same except they are suffixed with an A or B to keep them together, these would be in a folder with approx 500 other images for example (250 x two of each person)
My preference for the process would be done in the following sequence:
1/ Open the background file jpg (which is sized at 2400 x 1800 pixels @ 300dpi)
2/ Load the first image from the batch file and place this.
3/ Get the filename of the first image and create it as a text layer and write it below the image at 10 point text size.
4/ Create another copy of this layer and change the font to 3of9barcode font, however the font needs an asterisk before the text then again after it. e.g. *filenameA*
     Only the first image has the need for a barcode as they are for the same person. This is at 18 point.
5/ Load the next sequential image from the batch file and place this.
6/ Get the filename for the second image and as Item 3/ create a text layer below at 10 point text size.
7/ Place a png overlay with my copyright information over the images (I need to do this twice, once for each image)
8/ Flatten the images and save the file in a new folder with the same filename as the first image.
I can do this in Lightroom with the exception of putting the barcoded text, and the filenaming, this is because the background image is used as the identity plate and the filename is not based on the data from either photograph..
Can anyone shed some light on where to go from here?
Kind regards
Bryan

Photoshop Scripting-wise this seems fairly "easy".
But I would recommend creating a template file (that already combines background image, png overlay and the Type Layers).
Maybe data driven graphics would also be an option …
Photoshop Help | Creating data-driven graphics

Similar Messages

  • Can a script be written to improve the import process?

    Hello everyone -
    One of our managers would like to create topics by importing text from Word.  That is simple enough, but she would like to add a 'mapping' function to the import process that would create the topics in the appropriate folder.
    For example, the RH table of contents is structured by category (4), state(50) and line of business(15).  The Word file is structured as a table, and in that table are columns for category, state and line of business, along with additional text (such as description, etc).
    During the import process, she would like to map the Word file by category, state and line of business.  Using that mapping, import each line of the table and create a topic in the appropriate category, state and line of business.
    Is it possible to write a script to accomplish this task?  Or, is this just too complicated an operation?

    Photoshop Scripting-wise this seems fairly "easy".
    But I would recommend creating a template file (that already combines background image, png overlay and the Type Layers).
    Maybe data driven graphics would also be an option …
    Photoshop Help | Creating data-driven graphics

  • I need to take elements from within 2 nested for loops and place them in an array at the specific row and column that I need.

    I have tried intializing an array and replacing elements by specifying a particular row, and column, but in the end I get an array with only one element replaced, and I suspect that it is because as the for loops are running through their iterations each time the array is re-initializing. I have a simple vi that I will post below, it is not the exact situation that I have but is a good place for me to get some understanding. I have the row and column indexes being driven by the inner and outer loop iterations, which gives me the pattern I need. I am using the inner iterations as array elements. How do I set this up so that it works and d
    oes keep re-initializing my array.
    Attachments:
    Untitled.vi ‏26 KB

    I have fixed a number of things in your vi.
    You were right in thinking that the array was continuously re-initialized. To avoid this, use a shift register (right-click the loop border), which will pass the updated array into the next iteration.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    your_vi.vi.zip ‏13 KB

  • HT201407 i've updated my iphone 3gs software to the latest version of ios and now my device does not activate. i've searched for help here and it still doesn't work...is there anything else i can do, or i have to take the device back to the store?

    i've updated my iphone 3gs software to the latest version of ios and now my device does not activate. i've searched for help here and it still doesn't work...is there anything else i can do, or i have to take the device back to the store?

    Where did you buy this iPhone and how did you unlock it?

  • HT203176 My computer gets bogged down in disk utility "gathering disk information." I can't get past this to reach the first aid tab. The little icon just keeps going round and round. Any advice would be much appreciated. Thanks.

    My Mac crashed today for the first time in the seven years I have owned it. I was working in Photoshop. It had been getting slower and slower in Photoshop. Now I can't start the computer at all. Using the Installer CD, I can't get through to use the Disk Utility to try to fix it. The computer gets bogged down in disk utility "gathering disk information." I can't get past this to reach the first aid tab. The little icon just keeps going round and round. Any advice would be much appreciated. Thanks.

    You may have had a hard drive failure. Have you been hearing any unusual sounds? Have you been getting messages about a full hard drive?
    Will it boot in Safe Mode? See What is Safe Boot, Safe Mode? (Mac OS X)
    http://docs.info.apple.com/article.html?artnum=107392 Takes a while to run, but it usually "fixes" problems.
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://docs.info.apple.com/article.html?artnum=106214
     Cheers, Tom

  • HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no ma

    HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no matter what work I have done, inc cropping they  all go back to ,as they came out of camera. What on earth is happening? I am on PS CS6. I might point out everything was working normally up to  yesterday, when this first started.
    I recently changed computer to 64bit from 32bit, not sure if this causing  the problem or not. Any help would be appreciated.

    Robert,
    Would you be so kind to rephrase your question with concise, precise information and without any "let's say that" hypotheticals?  Sorry, I can't quite follow you.
    Also please give exact versions of Photoshop CS6 (13.what.what), of Bridge and of your OS.
    Thanks.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • I am having the problem when trying to take a panorama picture.   It may only take the first frame or doesn't even start at all when I press the shutter button. even though when i  hold the phone straight up and down, so that camera is at the top

    I am having the problem when trying to take a panorama picture. 
    It may only take the first frame or doesn't even start at all when I press the shutter button.
    even though when i  hold the phone straight up and down, so that camera is at the top on the back and the home button is on the bottom on the front.
    This problem is irritating me....?

    To take panorama
    - ensure that the panorama option is on
    - press the shutter button once
    - you will see a line with an arrow
    - move around in a circle  ( I keep the camera steady and turn myself around in a circle)
    - as you do this you will see the arrow moving across the screen as it captures pictures
    - at the end of the capture, you will be able to see your panorama picture
    I hope that this helps, do report back.

  • When I save my book in iBooksAuthor as .ibooks, it does not open on the Intro Media page.  How can I be sure it opens on the first page?

    When I save my book in iBooksAuthor as .ibooks, it does not open on the Intro Media page.  How can I be sure it opens on the first page?

    hello suffaman46, please refer to the documentation provided by yahoo for this issue: http://help.yahoo.com/kb/index?locale=en_US&y=PROD_ACCT&page=content&id=SLN2896

  • Hi, i purchased a 2 dvd digital set. i cant just download it straight to my ipad. they said i have to down load it to my i tunes, then can transfer to i pad. im not seeing how to click the files from my email, and get them into the i tunes acct... ugh.

    hi, i purchased a 2 dvd digital set. i cant just download it straight to my ipad. they said i have to down load it to my i tunes, then can transfer to i pad. im not seeing how to click the files from my email, and get them into the i tunes acct... ugh.
    i do not have a mac home pc. just a regular pc

    I had the same problem after I gave my old iPad to my parents and tried to install Netflix. This is what you have to do:  Open iTunes on your computer, the one you sync your iPad to. Then go to iTunes Store and search for and download Netflix app. After you download it, if your iPad is set to download new purchases it may start downloading on your iPad. If so, tap and hold to delete the app (because it is trying to install the new version on the iPad) Next step, go to the App Store on your iPad and find Netflix and it should say install since you already purchased it on the computer. Tap to install, and it will say the version is not compatible, tap to download a previous version. Click that and it will install the older version!    One more thing, if and when you sync to your computer again it will say something like " Unable to install Netflix on your iPad" Just click the box to never remind you again, because it's trying to sync the newer Netflix app to your iPad, but it doesn't work so it displays the message. The old app will remain on the ipad. Hope this helps, good luck

  • CATS Problem with Activity types, it takes the first 6 digits of PERNR

    Hello Gurus!
    I have configured cats and maintained infotype 0315. When i go to CAT2, i dont see any default values on the screen from 315. When i try to call the cost center and activity type,. enter the times and hit enter, it hits an error saying: Activity type 001131is invalid for 00113199. It doesnt speak abt the activity type i assigned, it probably takes the first 6 digits of personal number as the activity type and throws an error.
    Please help me what to do with this... its very urgent..
    Points granted..
    Thanks,
    Soniya Singh

    Which version of SAP are u using. I don't see any message with your description in the message class.
          I think the values on CATS are only defaulted when u give the WBS element and hrs and press ENTER. Try this and u should be able to get the values defaulted from 315 assuming you have set the default values in CAC1 and also please check the settings in the Initial screen of CAT2 if any other values are getting defaulted in Persons tab and also check ur activity type has the valid Controlling area.
    Edited by: Madhu Gudur on Feb 21, 2008 5:58 AM

  • HOw do i connect my hotmail to my blackberry, I had it on before and it recently stopped. I can't remember how I did it the first time. Thank you Pamela Duca

    HOw do i connect my hotmail to my blackberry, I had it on before and it recently stopped. I can't remember how I did it the first time.
    Thank you
    Pamela Duca

    Hi!
    If it was working before and you are on the same BB, I suggest doing these steps:
    Full reboot:
    With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation.
    If that does not restore the delivery of your emails, then re-push your service books:
    http://www.blackberry.com/btsc/microsites/search.do?cmd=displayKC&docType=kc&externalId=KB02830&slic...
    Lastly, since it's HotMail, it may be that you have not done the recently required re-validation:
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB13137
    Hopefully one of those will work!
    Cheers!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • HT5457 So can somebody please explain to me why the first gen iPad missed out on ios 6?

    So can somebody please explain to me why the first gen iPad missed out on ios 6?

    safrones wrote:
    Is that what you really believe?
    I don't know cause Apple decided for me.
    As does Microsoft anytime that they release a new update that is no longer compatible with the old PC hardware.
    I would hope that Microsoft and Apple would both know what operating systems will run on the hardware that is produced for them.
    I would also hope that Microsoft and Apple know better than you do as to what would work on their devices, tablets, computers, phones .... How much time and money have you put into research and development on the iPad?

  • My assistant and I are using two Lightrooms (i.e. two serial numbers) and need to share between our two computers. I provide originals to her onto a flash drive. She tags them and returns them to me. I then copy the photos from her flash drive onto my com

    My assistant and I are using two Lightrooms (i.e. two serial numbers) and need to share between our two computers. I provide originals to her onto a flash drive. She tags them and returns them to me. I then copy the photos from her flash drive onto my computer and load them in my LR. The photos appear but witthout any editing or tagging. We need to be able to have her working on the photos on her computer with her copy of LR and me on my computer with my version of LR being able to access what is already tagged and given back to me. This seems hard. We need advice on if it is at all possible to have two computers simultaneously working on LR . I bought her her own version because I was told at the time of purchasing that that was the only way to share. Please advise urgently! Thanks.

    Sounds like your assistant isn't instructing Lightroom to write the tagging and editing to the files themselves, so wehn the files return to you, they don't have editing and tagging information. She need to select the photos in Lightroom and then Ctrl-S (Cmd-S on Mac). Or alternatively turn on the option to autmoatically write this information to the files.
    If you are using RAW photos, then this information will be written to a sidecar XMP file, and your assistant must provide you with the sidecar file. If these photos are not RAW photos, then the information is written directly into the photo file itself.
    Lightroom wasn't designed to be a multi-user program, and so it is truly not possible to have two people working on the same catalog at once. The way you are doing things, as modified above, is probably the way to go.
    As an alternative, you can transfer (portions of) catalogs as well as photos back and forth and then all of these issues disappear, but a catalog might be rather large for a flash drive (or maybe not, it depends)

  • I am making a reel. How do I take clips from past DVDs Ive made and place them into Final Cut 4.0?

    Anyone answering,
    I am making a reel to show businesses what kind of work I can do. I am trying to take clips from past projects I have finished and place those clips in FCXpress 4.0. How do I go about doing this? Any advice on how I can do this will be a tremendous help for me.
    Thank you for your time!!

    Hi Jeremy,
    You will have to convert the DVD video to QuickTime using either Apple DV or Apple Intermediate Codec.
    Most people in this forum seem to use MPEG Streamclip to do this.  I have used it a lot it and it works great.
    Note that in addition to MPEG Streamclip (which is free), you will need the QuickTime MPEG2 Playback Component if you do not already have it on your Mac.  It is available from the Apple Online Store for $19.  This needs to be on your Mac in order for MPEG Streamclip to be able to convert the MPEG2 video that is on your DVDs.
    If it were me, and the video is standard 4:3 aspect ratio, I would probably convert it to QuickTime/DV; if widescreen 16:9  then I would probably convert it to QuickTime/Apple Intermediate Codec instead.
    After converting the video, select  an appropriate FCE Easy Setup to match how you converted the video in MPEG Streamclip.  Then import the converted file(s) and edit them into a new sequence.

  • A script to create a new folder and place selected items into it?

    I'd like to select a few items and have either an Apple script / contextual menu automatically create a new folder and place the selected items inside it.
    I have many, many to do—which is why I wanted to know if there is a script or automator or contextual menu thing available. Or if not, how can I create one?
    Can that be done? Thank you!

    Thank you for your help. Now I just want to expand on this a bit. To use the Applescript you have supplied me, how do I tell it to name the folder other than by date, and where to put it?
    Let me say, preferably, is it possible to make an action like this right-clickable? Instead of having to pick a script. Anything that slows this process down means I might as well do it all by hand. What I'd really love to do is this:
    Select a number of items. Right click to an action saying "create a new folder and put this items in it. Name the folder with the first item's name". Very simple and quick.
    Could this be accomplished? Through Automator? or something that can appear in the contextual menu? Folder actions?
    I'm just getting started with using these tools.

Maybe you are looking for