Batch processing with filename filter

Hi guys,
Does anyone have any idea how to run a specific action in batch along with a filename filter?
My problem is I have a folder with subfolders ie...  0001, 0002, 0003, 0004 etc   all these folders have approx 100 jpg files with the same filenames in each.
a sample of my images are: landscape-oraange.jpg , landscape-blue.jpg , landscape-red.jpg , portrait-orange.jpg etc etc
I was wonder of a way to just run the specific batch action on filenames containing a certain word, for instance to apply to all files containing the word "landscape" and exclude all other files.
I cannot copy all files under the subfolders to a seperate folder and run this way... as all filenames are the exact same as the other folders.
Does anyone have any advise?
Thanks again guys,   Jamie.

This might provide not quite what you are looking for but something similar.
Insert the correct Action and Set names in the line
app.doAction("Action 3", "Set 1")
and change the variable theIdentifier to the name part you want to use as a criterium.
This would work only if there are no spaces in the names by the way.
// 2012, use it at your own risk;
#target photoshop
// select folder;
var theFolder = Folder.selectDialog ("select folder");
if (theFolder) {
// define the name part to look for;
var theIdentifier = "Untitled";
var theFiles = theFolder.getFiles(new RegExp(theIdentifier+"\\S*.(jpg|tif|eps|psd)$", "i"));
// work through the files;
for (var m = 0; m < theFiles.length; m++) {
// open image;
var theImage = app.open(theFiles[m]);
// perform action;
app.doAction("Action 3", "Set 1")

Similar Messages

  • Batch processing with an image overlay

    Is it possible to do batch processing with an image overlay in FW CS4?
    I'm trying to resize several hundred images and place rounded corners on them.
    If this cannot be done in FW, does anyone know of another program that could accomplish this?

    Hi Marje,
    It's possible to include both resizing and image overlay in a custom Fireworks command that can be used in batch processing.  To get started, you could check out this tutorial that deals with the first step.
    That article describes how to perform image resize and overlay (in that case, a watermark), and then how to record the steps and turn them into a custom command that can be later used in batch processing.
    Once you saved the custom command, click File >> Batch Process, and follow the steps below:
    In the first window, select the images you want to process.
    On the next screen, open the Commands dropdown menu and select the custom command you created (it'll probably be on the bottom of the list), and click the Add button to include it in the batch process list.
    Finally, on the next screen select the location of the processed files, and optionally save the batch script for later use.
    Good luck!

  • How to use batch processing with jpg pictures taken with iphone cameras?

    How to use batch processing with jpg pictures taken with iphone cameras?

    Open the editor . Go to file>process multiple files
    Sent from my iPad

  • Batch processing with JTA not possible?

    hi ng,
    i'm hoping that someone can tell me if it is actually possible to use JTA transactions in non-app server spawned threads and, if so, how to do it.
    The problem we have is that we need a demon thread executing updates over a cached cluster (hence the need for JTA), but sun 7 uses a thread local to store the context and transaction info, if we try to perform JTA transactions in our own thread it bombs out from trying to lookup the missing data.
    We've tried to re-create what is expected in the thread local and bind it in but this is a large hack involving changing accessibility levels etc and we can't even get it to work anyway.
    The other option we've considered is to do the processing in a servlet but that would make the process widely accessible.
    Any help would be most appreciated.
    Thanks,
    Cam

    Hi Marje,
    It's possible to include both resizing and image overlay in a custom Fireworks command that can be used in batch processing.  To get started, you could check out this tutorial that deals with the first step.
    That article describes how to perform image resize and overlay (in that case, a watermark), and then how to record the steps and turn them into a custom command that can be later used in batch processing.
    Once you saved the custom command, click File >> Batch Process, and follow the steps below:
    In the first window, select the images you want to process.
    On the next screen, open the Commands dropdown menu and select the custom command you created (it'll probably be on the bottom of the list), and click the Add button to include it in the batch process list.
    Finally, on the next screen select the location of the processed files, and optionally save the batch script for later use.
    Good luck!

  • Batch process with History Command

    I want to batch process to resize pictures and have a final product as follows:
    Size: 220 x 140 (this detail is not important, but should be cosistant throughout).
    The final image has a feather of 10 pixels on all sides.
    I tried using the History steps in which I first resized the image to desired dimensions and to achieve the feather effect I used a mask (paste as mask from the Edit menu in Fireworks cs4) using a white rectangle 5 px smaller on all sides (210 x 130) with a feather = 10px.
    I saved the history as a command, but it does not run because it has difficulties recording steps where I have to tamper the rectangle (size, align, move etc.).
    Another problem is that resizing the image does not honour the height consistently (but the proportions) which causes a problem with the rectangle size used for masking.
    I don't mind doing this in 2 or 3 separate runs, but the final style of images should be with a feathered edge.
    Would really appreciate some expert advice to run the process/es to achieve the required result.
    Thank you!
    zabberwan

    Both these should do it...
    Image Processor Pro
    http://russellbrown.com/scripts.html
    Picture Processor
    http://www.scriptsrus.talktalk.net/PP.htm

  • Batch processing with AE on mac

    Hi guys
    I tried with Apple Script to make some barch processing on mac, using
    tell application "Adobe After Effects CS5"
         DoScript ";"
    end tell
    and... it opens the After effects UI.
    I tried using a jsx file with the variant
    DoScriptFile ... and same result
    I tried with aerendercore, which seems to work... but  the use of the function app.newProject() creates errors....
    Does anyone have any successfull attempt?
    I works without any problem on windows with
    afterFx -r "script.jsx"

    Hi Marje,
    It's possible to include both resizing and image overlay in a custom Fireworks command that can be used in batch processing.  To get started, you could check out this tutorial that deals with the first step.
    That article describes how to perform image resize and overlay (in that case, a watermark), and then how to record the steps and turn them into a custom command that can be later used in batch processing.
    Once you saved the custom command, click File >> Batch Process, and follow the steps below:
    In the first window, select the images you want to process.
    On the next screen, open the Commands dropdown menu and select the custom command you created (it'll probably be on the bottom of the list), and click the Add button to include it in the batch process list.
    Finally, on the next screen select the location of the processed files, and optionally save the batch script for later use.
    Good luck!

  • Batch processing with a re-save Script

    i have a script that i use to re-save a master file that may or may not have many layers, channels and/or paths.  when i have the master file open, i run the script and it flattens the image, deletes all the channels and paths, and then does a "save as" step saving the file as a tiff with lzw compression.  this all takes place without any user input or dialogs.  the script is copied at the bottom for reference.   i have made an action out of this script and it works fine everytime.  the problem is that when i try to batch process multiple file with this action, it seems that regardless of which options i choose in the batch processing window for saving (e.g. "none", save and close", etc.), the action is interrupted with the usual "save as" dialog window and even though lzw is specified in the script, i also have to manually select this option in the dialog.  does anyone know how to accomplish what i am trying to do (batch "save as" with lzw compression to files that are saved as uncompresseed tiffs) without having to stop for any dialogs?  please help!!!!  thanks.
    johnh h.
    if(documents.length){
    var saveFile = new File(activeDocument.fullName.fsName);
    SaveTIFF(saveFile);
    function SaveTIFF(saveFile){
        tiffSaveOptions = new TiffSaveOptions();
        tiffSaveOptions.embedColorProfile = true;
        tiffSaveOptions.alphaChannels = true;
        tiffSaveOptions.byteOrder = ByteOrder.IBM;
        tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
        activeDocument.saveAs(saveFile, tiffSaveOptions, false, Extension.LOWERCASE);
        activeDocument.close();

    hey michael,
    your reply made me curious to try something i hadn't tried before which was to run the "batch" processing from within photoshop and to my surprise it worked.  however if i repeat the exact same thing from within bridge (although in bridge i am selecting multiple files instead of the enclosing folder) it runs into the same problem.  so you have 1/2 solved my problem.  did you actually get it to run properly from bridge (bridge/tools/photoshop/batch) or did you run it from within photoshop itself?  please let me know... i am very curious to detmine the source of the problem.  thanks.  i appreciate the help.

  • Automator query: I want to batch process with a program that doesn't offer batch processing.

    After much searching and experimenting I'm resorting to asking the direct question to see if you good folks can help me.
    I would like to be able to automate some image processing with the software "SketchMee". Unfortunately this is not something that the stand alone can do on it's own. I assume Otto can help me. I would like to essentially have a directory with "raw" (unprocessed) images. Have automator...
    1. open file in SketchMee (SketchMee will automatically render with previous settings)
    2. save new file in new directory
    3. repeat 100's and/or 1000's of times.
    Seems pretty straight forward but I'm having trouble making it happen.
    Does anyone have any advice or info for me here?
    Note: this is not a process that can be done in iPhoto, Photoshop or Graphics Convertor.

    Way better, IMHO of course, is Photoshop Elements.  It is not free but you can find deals on it but if not it really isn't too expensive.  For the amateur or advanced amateur it is far better than DPP (free included software) and even Lightroom.
    Lightroom is designed more for a person that takes 1000's and 10,000's of photos.  It has limited editing featuers.
    PSE is also more user friendly that full blown Photoshop.  Which you can not purchase any longer as it must be rented from Abode on a monthly basis.
    There is the free Gimpshop but it is the least user friendly of the bunch and has a steep learning curve.  But it is free.
    Lightzone is a free copy-cat version of Lightroom.
    But when you are ready for the best photo editing and RAW conversion software there is, there is nothing at the top except Photoshop.
    EOS 1Ds Mk III, EOS 1D Mk IV, EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 85mm f1.2 L II USM, EF 70-200mm f2.8 L IS II,
    Sigma 120-300mm f2.8 EX APO, Photoshop CS6, ACR 9, Lightroom 6

  • Batch Processing with an Action

    Hello everyone,
    I created an Action within Photoshop CS5.  I saved this action to an .atn file which then I loaded into the CORRECT directory for PSE 10. 
    Once in PSE I can go to Actions and I can see and properly use said Action.  So I know it works.
    My question/problem:  Is it possible to Batch process using "Process multiple files" or something else using this Action?  I know is CS5 the option is there and it is fairly straight forward, however I did not see this option anywhere within PSE.
    I am hopeful that I'm missing something or there is just some trick that I don't know about. 
    I appreciate any help that is provided.  Thanks in advance.

    You would need to open the BatchWin,atn file located in (this is for win 7 and vista x64) into cs5 (these are just actions that elements uses for process multiple files)
    (be sure to put a copy of the original file somewhere in case you ever need it)
    C:\Program Files (x86)\Adobe\Photoshop Elements 10\Locales\en_US\Support Files
    Then add your action to the list, without any open steps in the action and you'll have to add the save step at the end of the action (the format you want to save the files in).
    Then save the action set and put it back into Support Files Folder.
    example of an action added:
    example of how it looks in elements:

  • Batch processing with Script Events Manager

    Hello all,
    I use the Script Events Manager to run a group of actions on a single file during the file open event.
    This workflow works well when dealing with a small quantity of files.
    Is there an efficient way to apply simultaneously a group of actions to folder of images?
    The PSCC Batch processor, Image Processor and Image Processor Pro only allow the use of one action at a time.
    I have try creating a combo action which includes a group of actions to run in the Batch Processor and Image Processor.
    When doing so I receive an error message from the Image processor and dialogs that from the Batch processor that suspend
    the program activity. I have had no luck with a combo droplet as well.  

    My system has 8 Gb of Ram and 4 processors. I doubt it's the system. I've had problems with CS Master Collection since day one. My main complaint is the ******* tabs and interface. Everything is so chunky. CS2 was smooth as butter. They keep making their products use more RAM and it's ridiculous. The tabs don't help, they only make life harder.
    Thanks for the suggestions, I was hoping not to have to reinstall PS, but looks like it's the only option.

  • How to manage automated batch processing with save for web?

    Hi All,
    This has been driving me insane. I am currently in PhotoshopCC and I know that several versions back I had no problems doing this but now I cannot create a generic action that I can then have save out to different folders.
    What I used to be able to do and want to do again:
    I have a project that requires me to turn a print magazine into a website quarterly. I receive the files packaged from InDesign and I want to process the images to specific sizes and then save as web optimized.
    For each article I want to be able to select the source folder and then a unique folder to save to for each article, so that optimized  images for each article remain with the article files.
    I never had an issue  doing this until a version or two back, since then I can only create an action that will save for web to whatever folder is in the action.
    I resorted to using image processing scripts and never realized I was not resampleing  the images down to 72 dpi and am having an attack of how could I be so stupid.
    If anyone can direct me to creating an action that can accomplish the save for web with the ability to control what folder my files save to I'd really appreciate it.
    Thanks,
    Rose

    http://russellbrown.com/scripts.html akk you need is the Image Processor Pro.jsx and Image Processor Pro.xml  from his services install package just rename the file extension to Zip and extract its contents and copy the two files to your Photoshop's path presets\scripts\

  • Missing something obvious (batch process with ffmpeg)

    I have a number of video clips in .mov format. I want to trim the first four seconds from each, and save with a new name. This script works fine:
    #!/bin/sh
    ffmpeg -i clip1.mov -vcodec copy -acodec copy -ss 00:00:04 clip1trim.mov
    ffmpeg -i clip2.mov -vcodec copy -acodec copy -ss 00:00:04 clip2trim.mov
    ffmpeg -i clip3.mov -vcodec copy -acodec copy -ss 00:00:04 clip3trim.mov
    and etc. I have quite a number of these.
    Being 'typing lazy' I figured something like this would work:
    #!/bin/sh
    for f in *.mov;
    do
    echo "Procesing $f"
    ffmpeg -i "$f"  -vcodec copy -acodec copy -ss 00:00:04  "${f%.mov}trim.mov"
    done
    I know only enough shell scripting to be dangerous, but I figured the problem had to do with quoting or shell substitution -- two topics I am weak on.
    Instead it tries to run each file and throws this error:
    "Unable to find a suitable output format for ' -vcodec'"
    Anyway, I appreciate any help.
    Andy

    #!/bin/sh
    for f in *.mov
    do
    echo "Procesing $f"
    ffmpeg -i "$f" -vcodec copy -acodec copy -ss 00:00:04 "${f%.mov}trim.mov"
    done
    Your script actually looks rather good.
    I can not see anything wrong with it from a scripting point of view.
    You might try running the script using
    sh -x your.script
    which should show you want the actually ffmpeg command looks like after the substitution has occurred.

  • Batch processing different files or not?

    Hello, I would like to know if It's possible to batch processing feature with the Acrobat standard version 9.
    I want to securize a bund of pdf files from their filename. What's the best version to deploy this subject, standard or professional? I'd like to do a similar shell where I can define a password per file and to establish a security policy.
    Do I need the SDK or API or only needed Acrobat Professional?
    How can I realize this one?
    How would you do that?
    Thanks

    Hello, ok, then I must adquire the Professional version. Even so, I'd like to know if it's possible secure the collection files with different passwords in an unique process with other ways, ie. from SDK that's free now... or the best good option is batch processing with Professional edition.
    In other words, Do exist other ways to do it that I haven't contemplated yet?
    Thanks!

  • Can I use Organizer to change the .jpg size of all photos in a folder in one batch process?

    We're using wa-a-ay too much disk space for a growing photo collection.   My daughter is a camera freak with four kids -- need I say more? 
    In my current test folder the sizes of the original photos range from 2.3 MB to 4.2 MB.  I picked one photo at random and printed the original and then three more, saved by PSE9 as .jpg files at maximum, middle, and minimum quality settings on plain letter-size paper, and again on 4x6 photo paper.  It takes a magnifying glass and a calibrated eyeball to detect a difference on the plain paper, and it's even more difficult on the photo paper.  I think I should relieve the pressure on the hard drive's capacity by reducing everything to a more reasonable size; after all, the minimum-quality print takes up less than one percent of the disk space as does the maximum-quality print.
    I have a hunch that I can accomplish this in a batch process with Organizer, but that's all I have is the hunch -- not the know-how.   I would like someone to step me through the process.
    I also expect a lecture on why I shouldn't do this.  Go for it; I'll listen.
    Thanks,  Bud

    Bud,
    BudV a écrit:
    I also expect a lecture on why I shouldn't do this.  Go for it; I'll listen.
    You are the one to judge... Will you regret it if you want to use some pictures with the original size and resolution at a later time?
    Yes, you can use either the organizer or the 'process multiple files' command of the editor. But first you should think about two questions:
    - Are you ready to backup the full resolution and size files before the 'shrinking'? External USB drives with big capacities are available and affordable.
    - From what you are saying, the optimal size would be for files resized for 4" x 6" format at 300 ppi in jpeg quality 8 to 10.
    Resizing from the Editor: Use the 'process multiple files' command and click the 'Same as source' button. I would not do it without a sound backup first... This can be done folder by folder.
    Resizing from the Organizer : Use the 'Export' command. That command leaves the original and puts the resulting files in a new folder. The resulting files are NOT included in the catalog.This means that keeping your organization (categories, albums, tags...) will be tricky; same if you are using a folder organization system.
    Another solution with a third party software such as Faststone photo resizer:
    - Absolutely do a full backup before
    - run the resizing options in the external software so that the files are resized without being moved. That replaces the originals.
    - If you are using the organizer, your organization will be kept, but the file sizes in the catalog and thumbnail databases will be wrong. You can regenerate the thumbnail cache by deleting the thumbs.5.cache file in your catalog folder; it will be automatically rebuilt.
    That has worked for me in the past... no guarantee for you!

  • Batch process does not work in one service, but worked in another.

    Hi Fellows,
    We have here a batch process with a code encrypted, that runs daily in a production environment.
    Tonight this batch process did not work.
    It is expected that this process runs in about 20 seconds, but tonight this process used about 3 hours and did not finished.
    We checked if it was concurrency, killed some sessions and tried again, and nothing has changed.
    And then someone changed the service that this process uses, it was 'bat' and changed to 'dba'. And it worked succesfully in 11 seconds.
    Here is the tnsnames that the batch process uses:
    bat =
    (DESCRIPTION =
    (LOAD_BALANCE = OFF)
    (FAILOVER=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bat)
    (FAILOVER_MODE =
    (BACKUP = dba)
    (TYPE = NONE)
    (METHOD = BASIC)
    (RETRIES = 20)
    (DELAY = 5)
    dba =
    (DESCRIPTION =
    (LOAD_BALANCE = OFF)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.x.x3)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dba)
    Do you guys know what could be the reason?
    Thanks in advance.

    We set the service which the app should connect.
    These services are set in srvctl:
    ora.cms.bat.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.bat.cms2.srv ONLINE ONLINE on fastora2
    ora.cms.bat.cms3.srv ONLINE ONLINE on fastora3
    ora.cms.bat.cs ONLINE ONLINE on fastora1
    ora.cms.cms1.inst ONLINE ONLINE on fastora1
    ora.cms.cms2.inst ONLINE ONLINE on fastora2
    ora.cms.cms3.inst ONLINE ONLINE on fastora3
    ora.cms.cmsuser.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.cmsuser.cms3.srv ONLINE ONLINE on fastora3
    ora.cms.cmsuser.cs ONLINE ONLINE on fastora1
    ora.cms.db ONLINE ONLINE on fastora1
    ora.cms.dba.cms1.srv ONLINE ONLINE on fastora1
    ora.cms.dba.cms2.srv ONLINE ONLINE on fastora2
    ora.cms.dba.cms3.srv ONLINE ONLINE on fastora3
    The batch process connects to a service [ bat ], but it hangs and don't finish. But when we change the service do dba is just pass in some seconds and finish succesfully.
    Connected to DB [issr@bat  ]
    PAYware CMS Version 8.0 - Module : E352 Release : 000000002
    Program: /cms/cmsissr/CMS/bin/issuer/mepcs352
    Release: 2
    PARAMETERS OK !!!
    NUMBER OF PROC.: 000001
    Number of transactions : +000047570
    Number of parallel processes: 000001
    Transactions by process: 000000000000047570
    Transactions Processed: 000010000

Maybe you are looking for

  • Processo de Industrialização

    Boa tarde pessoal!! Gostaria da ajuda de vcs no meu cenário...estou criando um processo de industrialização via SD onde o primeiro processo é a entrada de matéria prima, na qual criei com base em um processo de devolução, esse processo referencia o s

  • How do I remove items from the cloud without losing them permanently?

    My icloud storage is almost full. How do I remove items from the cloud and not lose them?

  • PDF Error while creating New PCR

    Hi All, i am getting belolw error while creating new PCR, it suppose to open PDF but with out opening it is giveing following error. The initial exception that caused the request to fail, was:    com.sap.engine.services.webservices.jaxrpc.exceptions.

  • Re: Issue With Final step re-installing drivers

    I have a hp desk jet 2540 all in one trying to print with my HTC mobile android phone wireless. Set my phone up with wireless print capabilities but will not print. Had my daughter use her hp laptop to try and set it up without results.

  • Cisco Professional Configuration Issue with SG 500 52P

    I have a new SG500-52P switch installed for a small business and am upgrading to a Cisco 2910 router this weekend. I am trying to view the new switch on CCPE but it keeps saying that the device is undiscoverable. I have HTTP and HTTPS enabled on the