Automate Batch, open every 3 files in a folder?

I'm doing some work where I mostly do the same things on three files. It's for a game-project and I've got one texture for shadows, one that's the normal diffuse layer and finally one that controls where team-colors go. I've learnt some things about the Actions-tab and can easily open all three files then click F2 and Photosohp CS4 does all the work. Then I simply save the file.
I was checking with the the Automate -> Batch option if I could do this for an entire folder but I've ran out of luck. It's easy enough with the destination, I just add a prefix to the file-name so it doesn't overwrite anything. However as I see it it's only possible to open every file in the folder after each-other. Is there a built-in feature or can I change the Actions a little to help me with this? The Actions I'm doing is mostly "Select Previous Document" etc. when I've got all three files open.
Failing in that is there a plugin or something anyone can recommend? If it helps the file-names are identical except for a "_diffuse", "_occulusion" and "_team" at the end so if there's a plugin or even feature that relies on the file-names that would work too. Otherwise this also means the three files are always after each-other in the same order.

You should look into Scripting for Photoshop (preferably with JavaScript), because what you are describing is not within reach for plain Actions as they can incorporate no conditionals.
»Adobe Intro To Scripting.pdf«, »Photoshop CS5 Scripting Guide.pdf« and the Sample Scripts (should all have been installed with Photoshop) offer a starting point and one can always ask for advice on the Photoshop Scripting Forum:
Photoshop Scripting
What exactly are the automated steps for the three different »types« of images?

Similar Messages

  • Open Random File in Random Folder

    I am trying to make an Applescript to pick a song at random, being dependent on how many files are in a folder. To simplify my example: I have 2 folders labeled "Rock" and "Country", Rock includes 99 songs and Country has 1. If I write the following script:
    to application finder to open some file in some folder "harddrive:user:me:music"
    Using this, there is a 50% chance that 1 country song will play, because the script is choosing between "Rock" or "Country" THEN the files inside. Is there any way that I can re-write the script so that it accounts for the number of files inside the folder?
    I only have a beginners level of writing script, so if you can dumb any complicated answers down for me that would be great
    Eventually I want to expand this for more than two folders, but I'm sure if I get 2 down I can extrapolate to more!

    Whoops, sorry: didn't notice that it returned a list of lists which need to be concatenated.  This version works correctly:
    set musicFiles to {}
    tell application "System Events"
              set musicFolders to every file of (every folder of folder "/Users/tedwrigley/Test area") whose visible is true
              repeat with thisItem in musicFolders
                        set musicFiles to musicFiles & thisItem
              end repeat
    end tell
    set theChosenFile to some item of musicFiles

  • Acrobat DC: Action List opens every file

    Hi to all,
    i installed Acrobat DC on Windows 8.1 and wondering about the behavior of action lists.
    If i run a list (i testes several own lists, e.g. for putting metadata inside), Acrobat opens every PDF the list is running over. The last file remains open.
    Is that normal? Is there a way to switch this. I think opening every file is nit the best for the performance. In Acrobat XI and earlier only have a progress bar.
    Thanks, Klaas

    You're right, it's very bad for performance, but Adobe seem to prefer it that way... It was the same in Acrobat XI, by the way.
    Also the bug that the last file was not closed automatically was present in XI. Sad to hear it was not fixed, but not surprising.

  • I'm no longer able to click and open AI file from my folder.

    I’m no longer able to click and open AI file from my folder. 
    Error messege:  Unable to open... insufficient file....
    Evertime I open AI file, I need to reopen the illustrator software and then click the AI file from saved files.
    Please help.

    Not enough information. What OS? What version of AI? Where are the files located? Do they open from the File menu in AI?

  • Adobe tries to open every file i download how do i stop this?

    adobe tries to open every file i download, how do i stop this?

    This is a file association problem. You can change the files Adobe Acrobat can open, but the method depends upon your version of the operating system. There used to be an entry in the Acrobat/Reader Faq on how to do this.

  • HT201250 I set up Time Machine yesterday (using a WD 2T drive) and got the message that the first backup was complete.  I can open every file I try except Quicken and TurboTax.  What am I doing wrong?

    I set up Time Machine yesterday (using a WD 2T drive) and got the message that the first backup was complete.  I can open every file I try except Quicken and Turbotax.  What am I doing wrong?

    burgessiii22 wrote:
    Thanks for the answer Linc, but how do I check to make sure the back-up process is working if I don't think I need to restore?
    Create a test file with Text Edit (or any other program) and save it to your desktop.
    Run Time Machine from the menu bar.
    When the Time Machine icon in the menu bar stops spinning, drag your test file to the trash.
    Open Time Machine and go back 1 page. You should see your test file on the desktop.

  • Acrobat opens every file on my machine....

    When I open Acrobat, it opens every file on my machine (or at least until it reaches the limit of how many it can open.)
    Any suggestions on how to fix this?
    Acrobat CS4
    Mac Pro / Snow Leopard
    Thanks!
    Matt

    What I meant to say was "every pdf file on my machine" not "every file on my machine".
    Matt

  • Open libraries automatically upon opening AI file?

    Each time I open AI, I have to re-establish which libraries I want to work with.  Is there any way to have them connect/open automatically upon opening the file?  Thank you!

    Use the New Document Profiles in (Mac) HD>Users>(yourname)>Library>Application Support>Adobe>Adobe Illustrator CS3>New Document Profiles. For CS4 add en_US before the New Document Profiles. Open the one you use most. Open the libraries you want to appear and from the flyout of each panel make them persistent. Save the file and restart AI. Choose File>New and the new document should have these libraries available.

  • Automate Batch Open PDFs

    Thank you to the people who responded to my previous post, but I am still having an issue trying to Action > Automate Batch with an Open PDF at specific size and Save for Web Close, both needed in the Action. Once the files are open, the Action works, but if I include the Open, the files are all named the same. Is there a way to open a PDF at specific size and not include a specific name???? Thanks in advance for suggestions.

    You provide little to no pertinent information.  Save your Action Set as a text file and post the text here so we can look at what you recorded into the Action.

  • How do I open a file from a folder, process it, then open the next ?

    I have a folder full of items. I want to open the first item which is a 3d file, process it with the 3d application -- by automating the mouse clicks, then save the file, then go do the same with the next file in the folder. I see an item called open folder contents and open finder items, but it just opens them all at once.
    Thanks for any help.
    Dan

    Having a little trouble with this as it only runs once even with the loop.
    I open a folder full of files dispense them, then do a watchmedo action then loop at the end. But it only does the first file. Any hints?
    Thanks,
    Dan

  • How to open Drafts file in Profile Folder Adobe says can't open HELP!

    Lately several drafts just disappear. Today a very important draft I was making/had finished, disappeared. Read in forum to shut down Thunderbird, go to Profiles then open the draft file, however when I try to open draft file Adobe PDF deal says it cannot open. Am desperate to get this draft that disappeared back ASAP!
    I am running Windows 7 and so need little step by little step instructions on how to accomplish this.
    BTW I see 2 draft files 1st appears like a blank page just says Drafts. The other says Drafts.msf and has the PDF logo within. Both of them, when I try to open I get error message from Adobe Reader saying " Adobe Reader could not open Drafts.msf because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)"
    Thanks in advance for ANY help in the matter ASAP as this particular draft is of great importance & sure don't want to have to redo such a very long detailed email!!!
    Ctipling

    You can check if the update was sucessfull b opening the Editor and clicking Help >>About Plug-in >>Camera Raw
    You should see this:

  • When select for PDF reader to use automatically to open PDF files I still get the window every time I want to download a PDF file. How to prevent stopping this.

    Even when I highlighted in a seperate window that I want PDF open automatically with the PDF reader I always get this confirmation window to choose from. Is there a way to stop getting this confirmation window ?
    To perform a test I had with IE browser that by default selected PDF reader it does not ask me each time which option to choose from.

    Could you indicate what you have selected here:
    orange Firefox button ''or'' classic Tools menu > Options > Applications
    In the search box, type pdf and wait for the list to be filtered. On the right side, what do you have selected in the drop-downs? Do any of them behave the way you want?
    If the problem only occurs on certain sites, it's possible that the site sending a generic content-type header rather than a pdf-specific content-type header. Firefox doesn't look at the file extension to decide which program to use in that case, it simply lets you choose.

  • Batch processing saves files in wrong folder.

    I ran into a problem the other day, and I believe an item should be added to the Process Multiple Files window, or perhaps it's a bug that should be squashed.
    I have a folder with many subfolders in it, all full of jpegs. I wanted to use the Process Multiple Files function to convert the jpegs into png files and have the png files placed into the same folder as the jpeg it originated from.
    I have the Destination set to Same as Source, but instead of placing the files into the subfolders, all the images go directly into the parent folder. It was much more time-consuming to try to sort them out than to start over and process each folder individually. I should be able to leave the computer unattended and have the files saved into the proper folders; Instead I had to stay close so I could change the Source folder every few minutes.
    I see no reason why there isn't an option to place the converted files into their original folder. Isn't that what the Same as Source setting is supposed to do?

    Sure, if you owned all of those files and were doing it strictly for yourself you could certainly write a plugin to Acrobat (in C/C++) that could do some/all of the things you asked for.

  • How to do a FFT tranformation for every file in a folder of another folder?

    Dear all,
    I have a folder A, there are seven folders in folder A, I call these seven folders B. and there are 100 files in every folder B. These files are all the data information of current.
    ok, now I need to transfer every current file into a FFT tranformation, and save the transferred files corresponding to the original file.
    Does anyone have some idea? Thank you for any help!
    Jing

    Hi Mike
    In this way, How can I save the transferred files as the same way as the original files and folders?
    after FFT transformation, I hope to get 100 files in every "transferred B" and seven "transferred B" folders in one "transferred A" folder.
    Jing 

  • Running a Batch by checking File in OpenBatch folder instead of scheduling

    Hi All,
    We have  requirement to run a Batch file whenever it is available in OpenBatch Folder. It is not available at any particular time intervals so we can not schedule it.
    Can this be achieved by using some script in FDM? Or do we need to write some VB script to check the OpenBatch folder for file and then call the batch using Upshell?
    Any inputs are appreciated.
    Thanks in advance.

    that's how it is run on the current (and previous) client sites and the system administrator just enables / disables for the appropriate business days or in some cases they jut leave it polling
    the .net option i played about with was the FilesystemWatcher class, and although it did the job, i took the view that it was an extra bespoke bit of functionality that needed to be managed / monitored and in the end did not really provide any benefits over the task manager. At least with Task manager, it is part of the application and easy to control if there are issues and you wish to stop / start the batch process (especially when testing etc or production problems arise).
    If you do a search on the internet i am sure you will find various examples in different progam languages that may be of assistance to you.    

Maybe you are looking for

  • How to append a ResultSet to another ResultSet?

    Hi, How could I append a ResultSet to another ResultSet object if their columns are exactly the same? For example, I have some methods that return ResultSet objects for particular queries. int a = 3; ResultSet rs1 = getRoute(20, a); ResultSet rs2 = g

  • Error while install EBS 11.5.10 on RHEL5 oracle unbreakable linux

    hello i got this error while install EBS and here is the log file 0/appsutil/out/VIS_oracle/templbac/adrundb1.sh setting permissions: 755 setting ownership: applmgr:oinstall Step 0 of 5 Command: /u01/oracle/visdb/9.2.0/temp/VIS_oracle/adrun9i.sh Step

  • Why won't iTunes 11.0.1 sync my Podcasts to my 3rd Gen iPod Touch on IOS 6.0.1?

    Why won't iTunes 11.0.1 sync my Podcasts to my 3rd Gen iPod Touch on IOS 6.0.1?  I'm running iTunes on my MacBook with Mac OSX 10.6.8.  I've checked to make sure in iTunes that the Podcast Sync box is checked and it is.  I've tried checking communiti

  • HT4009 In game purchase hasn't shown up (clash of clans)

    Hi, I purchased 14.98 worth of gems in clash of clans yesterday morning (a little over 24 hours ago). I still haven't recieved them and supercell's support team has not gotten back to me since yesterday. I was wondering if there's anything else I can

  • Itunes synchs all apps on ipad and iphone

    All, sorry if I am double posting but couldn't find the same problem I am facing.. I have an iMac with latest itunes and patches.. Both Iphone and Ipad are running ios 4.2.1 The mac is my main platform for itunes but I also use a windows XP box at wo