Photoshop Actions - Merge sets of images?

I wrote an action which takes Image A and adds it to Image B (lets say A is a logo and B is a photograph) and saves it as Image C (photograph with a logo on it)
My question is: is there a way to do this quickly for lets say 50 images (25 A and 25 B) and save them with unique names as Image001, Image002, 003... etc.? How would photoshop know to open the right images?

You would want to create an action that takes your logo and applies it to an open image.  Then you would want to run that action as a batch so that it would open each file in a folder, apply your logo, then save in a new location.
Of course, you would need to have all the files the same size and orientation, unless you're using the new conditional actions.

Similar Messages

  • Utilizing Photoshop Actions for batch of images

    I have a need to use some photoshop filters such as Noise Ninja as part of the batch conversion. Is there a way to export images via a script without having to open a jpg and then re-saving external to the program?

    You would want to create an action that takes your logo and applies it to an open image.  Then you would want to run that action as a batch so that it would open each file in a folder, apply your logo, then save in a new location.
    Of course, you would need to have all the files the same size and orientation, unless you're using the new conditional actions.

  • How to launch photoshop action?

    I'm writing a Bridge CS3 script to generate a web gallery. The user selects some files and starts the script through a context menu item. The script iterates through the selection list a couple of times, writes files, etc.
    As the final step, I need to start Photoshop CS3 and run an action on the set of selected files--as if I had picked Tools/Photoshop/Batch... from the Bridge menus but with the action specified so the user does not have to go through the action dialog in Photoshop. After starting the action, the Bridge script is complete and can quit while Photoshop does its batch processing.
    The Photoshop action contains mostly "fit image..." and sharpening steps. It also contains some simple scripts, mostly simple "save as" types of operations.
    I'm uncertain how to do this. Is this where BridgeTalk must be used? Can anyone direct me to a sample script that does something simple like this?
    Is there any problem with having scripts within the action? Some messages I've seen suggest there is, but I'm not certain I'm interpreting them correctly, or whether they apply to CS3.
    Thanks.
    Guy

    [email protected] wrote:
    > I'm uncertain how to do this. Is this where BridgeTalk must be used?
    Yes. You would have some Bridge JS call some PS JS which would, in turn, call
    your Batch/Action.
    > Can anyone direct me to a sample script that does something simple like this?
    You might want to take a look at the Bridge SDK, if you haven't already. There
    are several examples using BridgeTalk. And also look at the code in Common
    Files/Adobe/Startup Scripts CS3 to see how Adobe implemented the Bridge
    Tools->Photoshop functionality. It's a bit difficult to follow in places but
    what you really want to look at is the photoshop10.runActionCommand function in
    photoshop-10.jsx. It's one way of calling PS actions from Bridge and it's also
    what I use in my code.
    >
    > Is there any problem with having scripts within the action?
    CS3 has apparently addressed this issue but I can't say from personal experience
    that it works. However, this was not possible at all in CS2 unless you went to
    really extreme measures.
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Creating a photoshop action to save a batch of images as patterns

    I am trying to use Photoshop actions to script about a thousand image files into PAT files. I am running into a problem with actions when it comes to defining a pattern. The program naturally selects the filename as the name of the pattern when doing it manually, but when I do this while recording an action Photoshop logs the filename used in creating the action and then uses that filename for all sripted patterns. Is there a way to alter that setting to select the current file's name instead?

    You might want to move this thread to the general photoshop forum if tou want an action.  However your not going to be able to do create the action you want for when you record menu Edit>Define Pattern the "Pattern Name Dialog" will pop up and whatever is used in it will be recorded into the action.
    Also Photoshop Scripting DOM does not have a interface for creating and nameing patterns.  However you should bne ale to write a script to do what you want using code generated with Photoshop Scriptlistner Plug-in and modifying the hard coded name to a variable you set with somthing like the active document name.
    Before defining the patern you may be able to see if the name is all ready use for a pattern name so you can add something to the name to avoid duplicateing name.
    ScriptListner Code difine pattern
    // =======================================================
    var idMk = charIDToTypeID( "Mk  " );
        var desc14 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref12 = new ActionReference();
            var idPtrn = charIDToTypeID( "Ptrn" );
            ref12.putClass( idPtrn );
        desc14.putReference( idnull, ref12 );
        var idUsng = charIDToTypeID( "Usng" );
            var ref13 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idfsel = charIDToTypeID( "fsel" );
            ref13.putProperty( idPrpr, idfsel );
            var idDcmn = charIDToTypeID( "Dcmn" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref13.putEnumerated( idDcmn, idOrdn, idTrgt );
        desc14.putReference( idUsng, ref13 );
        var idNm = charIDToTypeID( "Nm  " );
        desc14.putString( idNm, "Pattern 5" );      <------ change "Pattern 5" to be a variable
    executeAction( idMk, desc14, DialogModes.NO );

  • Merge to HDR Pro does not work in Photoshop 14.2.1. Image appears black. What is the problem?

    Merge to HDR Pro does not work in Photoshop 14.2.1. Image appears black. What is the problem?

    Attached is screen shot. What happens is I go to File/Automate/Merge to HDR Pro, then select my 3 images, which are flattened psd files (I have tried tifs and jogs too), hit OK, it processes them, but instead of the image appearing, I get this black image. You can see my original images at bottom... jpegs too),

  • How to merge two different images in photoshop?

    I am new here. I am starting to learn photoshop.How to merge two different images in photoshop? Please guide me. Thankyou.
    http://www.nissiinfotech.com/

    SPAM

  • Starting an action by opening an image in Camera RAW

    I am currently using Adobe CS3 Design Premium with Windows XP Pro as the operating system. The computer is a self build and has 2GB of RAM, 450GB of onboard HD storage and 6x500GB of external HD storage.
    As a photographer I frequently end up with anything between a 100 and 300 RAW images after a days work and convert them to DNG, Tif and JPEG files.
    With CS2 I ran an action which opened the image in Camera RAW which then enabled me to make adjustments before opening the image in Photoshop and completing the other elements of the action. Since upgrading to CS3 I have been unable to create a similar action and having read the "knowledge based" information and looked through the topics in the forum have failed to find anything that is of help. As each image and the conditions under which it has been taken differ it is quite important to make corrections in Camera RAW before completing the action in Photoshop and fixed settings applied by Camera RAW would be inappropriate.
    It is always possible that I am making a fundamental error in writing the action but given my previous experience it seems unlikely. Incidentally I usually bring up the images in Bridge and then select the best images to process and start the action from Bridge.
    I should be very grateful for any help in resolving this problem

    >It is always possible that I am making a fundamental error in writing the action but given my previous experience it seems unlikely. Incidentally I usually bring up the images in Bridge and then select the best images to process and start the action from Bridge.
    there's your problem...when you start the action recording from Photoshop you'll need to actually open a raw image FROM Photoshop not from Bridge. Don't know if this changed from CS2>CS3, but that's the only sure way of recording an open function...from within Photoshop. Then in the Batch you'll still need to override open so the open will open the image with the parameters already set in the image.

  • I don't get a fluent blending( the transparant 'checkboard layer' merge with  the images instead) of the images i like to blend

    I like to fluently blend in more images , When i use the gradient tool and hold down the shift key to draw a line , i see no fluent transition of the two images, instead part of image fades into a tranpanrant ' check board' layer instead.
    What goes wrong here?
    Blending Multiple Images in Photoshop | IceflowStudios - YouTube
    I am refering to the tutorial above..

    Yes, I understand it's not always easy to grasp to what goes on on the other side.
    I already tried the above though nothing seemed to work
    I had to use the paint brush as well but  in reverse setting to get the desired result. If I dont use paint brush the checkboard appears  thus it wont merg/ blend the images.
    I don't understand how the guy in the video did this  but with photoshop cc 2014 it seems to work different, apparantly.

  • Can I use photoshop text styles and photoshop actions with creative cloud photography?

    I'm really confused by this subscription pricing. If I purchase the $9.99/month, do I get the full desktop app of Photoshop and Lightroom? But I see on this page Products they list something called Photoshop CC that costs twice as much. How is that different from the Creative Cloud Photography?
    My main question is whether I can use photoshop text styles and photoshop actions with Creative Cloud Photography, since I just purchased a bundle that includes these and I want to be able to use them. But I'd also like to understand what comes with all of the various products and how they are different.
    My other question is how is Lightroom different from Photoshop? I have a sense of what you can do in Photoshop but I don't know much about Lightroom at all.
    One more question: the free trial -- is it limited in any way besides the time length? If I do that, will I get a clear idea of all that I will be able to do once I subscribe, or are the functions limited in the trial?
    I tried to just send an email to Adobe to ask these questions but apparently they are not interested in responding to emails from people who are not yet paying customers, so I was directed here. Thanks very much for your help!

    I always like to trot this bit about Bridge once in a while or in the voice of the "Two Bobs" from Office Space,
    "Can you tell us exactly what it is you do around here?"
    What Adobe Bridge does:
    Bridge is the coordinating hub of the Creative Suite. Synchronizing color management settings for all suite programs is done from Bridge, and can only be done from Bridge, to take one important use.
    Bridge displays actual thumbnails of many more file types than Finder or Explorer. It also allows instant play of sound or video files more readily than the native OS file managers.
    Bridge allows direct access to file metadata, to embed copyright information  and keywords where appropriate (e.g., for corporate logo vector and raster files). It also displays the fonts used in an InDesign file, the swatches in an INDD or AI and the output plates (including spot color plates) they use.
    When managing the assets for a design project, Bridge allows quick and simple sorting, rating and custom labeling (with color flash indications) of assets. I can rate images according to whether they are rejects, possibles, for review by client, or approved. The filters built into Bridge allow instant isolation of only the approved images or designs in a folder, only the rejects (for deletion) or only files with certain ratings, no matter how many files it contains. It recognizes aspect ratios, so if I only need a landscape or a 16:9 image in a folder of hundreds of images, I turn off the aspect ratios I don't need.
    Once filtered, the remaining visible files can be selected and copied, moved, or deleted without affecting the rest of the contents of a folder.
    Collections are a massively useful feature. One of my clients is a performing arts center, and in a season we turn out dozens of ads, flyers, brochures, web banners, playbills, billboards and other collateral using the same assets over and over. These assets are organized by artist and/or show on disk, but I set up each season's repeating assets as a Collection in Bridge, so that I just have to open the collection and drag and drop these assets into new INDD, AI, PSD, HTML (in Dreamweaver), FLA or AE projects without having to navigate from folder to folder picking up individual files.
    Bridge's Favorites is another place I stack frequently-accessed folders, such as stock photography, backgrounds, and top-level folders for active projects.
    Assets can be divided into subfolders, but a quick toggle of "Show items from subfolders" exposes all of the assets in a single view while maintaining their organization. I will typically keep AIs, PSDs, EPSs, stock photography and client images in separate subfolders within a project. When I'm ready to start pulling assets into an InDesign layout, I toggle this on and simply drag what I need into the layout.
    Bridge comes with Adobe Camera Raw built in, which is many times faster than using Photoshop to adjust jpegs or tiffs for things like tonal range, white balance, cropping, spotting and sharpening, and is non-destructive.
    One tremendously useful Bridge function for InDesign CS5+ users is the "Show linked files" feature, which opens all the linked files in a layout into a single view, regardless of where they are physically located. I often use this when doing alternative layouts from a client-approved mockup for a campaign, to be certain the same assets are used in each piece, or when creating a motion graphic or interactive piece for the campaign in After Effects or Flash.
    The batch and image processing scripts built into Bridge automate things like creating web-ready small jpegs from multiple images, renaming large numbers of files in place or by copying to an alternative location, creating sets of PSD, png, jpeg or other file types from an assortment of image files, and so on.
    Bridge is so much a part of my daily workflow that on my main workstation I have one monitor dedicated to it almost 100%. Bridge just sits open 24/7, ready for use. I would run at half speed without it, no question.

  • Adobe Camera Raw and Photoshop Actions

    Hi guys,
      I'm having troubles with Adobe Camera Raw settings and Photoshop actions. Basically, here is what I want to do :
      apply settings for the general colours, exposure, tint, etc., but keep an automatic undistortion of the images thanks to the metadata of the CR2 file.
      The preset I've done is working fine, and when I'm in ACR, I can apply the same preset to different photos with different lenses. Then when I'm opening them in photoshop, they look allright.
      The problem seems to appear when I'm creating the action in photoshop. No matter if the lens profile is set to 'auto' in the preset, it looks like it's applying the one from the original preset. Then let's say the preset was created with a 50mm, then when I launch the action on a 85mm, the undistortion is wrong ...
      If anybody has an idea how to fix the problem, that would be really helpful !
      Thanks a lot,
      Julien

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I am moving your post to the correct forum so that it can get proper attention. I understand that it is difficult to determine which forum to post in since there are so many.
    I'll put I this posting in the photoshop community so the experts there can help you.
    We also have many other forums relating to other Adobe products
    http://forums.adobe.com/community/
    http://forums.adobe.com
    Out of curiosity, can you tell me how you found our forum page?

  • How to see filename of loaded Photoshop action?

    Is there a way to view the filename of loaded actions?
    I am trying to find the .atn file on my computer of a Photoshop action that I loaded ages ago and frequently use.  The action was a free download and creates a new document displaying a before and after view of the image I am working on.  I have hundreds of .atn files on my machine and have been unable to identify the one I am using by just scrolling through all the available .atn files in my presets folders.  I also did a search on the computer itself in case the .atn file was loaded from some other folder, but for the life of me I can't find it.
    It would be convenient if there were some way to display the properties of a loaded action that would include the path to the action file.

    Actions are usually stored in one of 2 places. First is within the PS program directory under Presets\Actions (installed drive letter:\Adobe\Photoshop CS5\Presets\Actions) or under you user name and basically the same path but on Win 7 it is a little different (C:\User\username\(Local or Roaming)\AppData\Adobe\Photoshop CS5\Presets\Actions)(I think that is the path. I'm on  XP box right now). So look in both those locations.
    With Win 7 it REALLY likes to hide stuff from users, even users that have FULL Admin rights. If you haven't made changes to the folder view settings, like Show hidden and system file and unchecked "Hide Protected operating system files" it just may be that Win 7 is protecting those .atn file from view.
    More then likely you saved that action set to the default Save location which is in the user profile. So I would start my search there.
    In any event you can start to load action sets until you fined the one that has those that are listed in your screen shot. PS might even be smart enough to come up with a warning when you try to load the same action twice. But I wouldn't count on it. I just tried loading the same action twice and PS CS4 had no problem making a duplicate action set in the actions pallet.

  • Turning a Photoshop action into a pixel bender script

    We have a photoshop action that takes images and 'plasticifies' them. Specifically the action performs several filters that we're looking to convert into pixel bender scripts so that the action can be performed in Flash. I'm trying to discover if there are existing examples to perform these actions, and if not if it would be possible to create them. The filters that are being used are:
    surface blur
    diffuse
    layer copy
    high pass filter
    layer overlay
    hue / saturation
    shadow / highlight
    unsharp mask
    I've attached the script to the post for reference and provided an example below. If this isn't something that we could combine several pre-existing filters together, would someone be up for working with me to create this or provide some guidance on how to move forward?
    Original Image
    Plasticify Effect
    File: autoPlastic_test.atn (created in Photoshop CS4).
    URL: http://drop.io/t7gez0g
    Thanks,
    Roy

    AIF Kevin wrote:
    The Bilateral Blur in After Effects is implemented in Pixel Bender. It  was tricky to get the best possible performance for it. Pixel Bender  works pretty well for Anistropic filtering as well, we are doing that  now for some new stuff.
    Royi A wrote:
     I think in the GPU each basic variable (Pixel) is a vector of 4. Applying something on 4 of items in the vector or only 1 would "cost" the same.Someone of the AIF could confirm it?
    This is sort of true. We do take advantage of the vector types to generate SSE code, but we do it not only within a pixel, but also across multiple pixels so a pixel1 value within your kernel may be computed with pixel1 values from neighboring pixels to improve performance. In general, it is best to write your code naturally and then only look to optimizing at this level if performance is unacceptable and the more obvious problems (minimizing conditional branching, for example) do not solve your problem.
        Kevin
    Kevin, how do you iterate in the Anisotropic Filter?
    One the things I miss is to loop a graph or something like that to iterate over the image.
    Regarding the Bilateral Filter, My first PB kernel was a Gaussian Blur, just to get the feeling.
    At first I didn't use its separability property.
    It was slow, very slow!
    For the Bilateral Filter you have to do even more operations. Unless you implemented its "Separable Bilateral" approximation, Or any other known optimization (Grids, Linear Approximation, etc...).
    What about the GPU case regarding what I wrote?
    Let's set I convert the image into LAB space and perform Gaussian Blur and each time only operate one CurrentPixel.r (The first item in the "Pixel" vector), will that make any performance difference?
    Or even make it completely different. Creating a node which take as input image4 and output of image1 (L Channel). Then Gaussian Blur (2 Nodes) on image1, would that be faster (Again, GPU wise)?
    Thanks.

  • Automating using Photoshop Actions & Excel document??

    Hi - I'm new to automator and I wanted to know if it was possible to have automator run photoshop actions and also pull info from an excel document. Here is ideally what I’d like to do:
    I receive hundreds of images (book covers & interiors) that I’d like to resize and rename automatically when they are Dropped into a folder.
    There are 3 different resizes that I’d like to be done. I have the resizing actions in photoshop already. I run the automate>batch command in photoshop, but I’d still like to make it simpler.
    Original files – These are how I receive the files and I clean them up to look like this.
    - COVERS – i.e. 140394877213_ccvr.tif
    - SPREADS – i.e. 140394877213_csp1.tif, 140394877213_csp2.tif, etc.
    Here are the different folders
    Folder 1(sized for catalog use) – action set up in photoshop cs2 that will size covers, another action to size spreads at a different size.
    - covers – bookname.tif
    - spreads – 140394877213_csp1.tif
    Folder 2 (smallest sized cover) – action in photoshop to resize cover
    - covers – 140394877213.tif
    Folder 3(sized for powerpoint presentation) – action in photoshop that will resize covers to a certain size, and a separate action that will size spreads to another size.
    - covers – bookname.tif
    - spreads – bookname_csp1.tif, etc.
    5 photoshop actions in total
    When the original files are dropped into the specified folders (folder 1, folder 2, folder 3), a photoshop action is run that resizes all the files in the folder and also renames the files.
    Can I do this? I have all the books and isbns in an excel document that I’d like automator or applescript to pull the information from the excel doc to rename the files accordingly.
    Also, is there a way to record the names of the files I receive in an excel document?
    Or even better, after the images are placed in the folder, can a script check the excel document (that has the listing of the booknames and isbns) and mark off which files where received and placed in the folder. I hope that was clear.
    Any help or advice would be much appreciated!
    MacBook   Mac OS X (10.4.8)  

    ngb111,
    I know this is possible through AppleScript as I just finished off a script that renames files based on an Excel list.
    http://discussions.apple.com/thread.jspa?threadID=871047&tstart=0
    It might be also be possible using Automator through some third-party Automator actions.
    http://www.hanaan.com/Automatorbookonline/Automator%20Actions%20Download.html

  • Automating Photoshop Actions

    Hi:-)
    I need a script which takes a folder of images and gets them ready for a website by
    1) opening each image and saving it for the web
    2) checking if any of its dimensions are above 500 - if not moving on to the next image and, if so,
    3) proportionally reducing that dimension to 500.
    Is this something I can do with Photoshop Actions alone? If not, can I use Applescript to accomplish this?
    Thanks a lot !

    Hi Mark thanks a lot.
    I tried option 2 today. Initially it was returning the filename without the extension (baseName) as a string with a space between each character (as in "f i l e n a m e")so I was getting the error message
    "Adobe Photoshop CS got an error: Folder some object wasn't found."
    I then slightly rejigged the on getBaseName(fName) handler to the following:
    on getBaseName(fName) -- File name without extension
    set x to "."
    set y to offset of x in fName
    set z to y - 1
    set baseName to ""
    repeat with i from 1 to z
    set baseName to baseName & character i of fName as string
    end repeat
    return baseName
    end getBaseName
    Now I get correct filename without the extension bu now I am getting the following error message which I don't understand:
    "Adobe Photoshop CS got an error: General Photoshop error occurred. The parameters for command “Save” are not currently valid."
    I ran the Event log while running the script and pasted below is what it recorded:
    tell current application
    choose folder with prompt "Please choose the folder containing Images" without invisibles
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    end tell
    tell application "Finder"
    get every file of alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    {document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_small.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa copy.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk}
    end tell
    tell application "Adobe Photoshop CS"
    get properties of settings
    {color picker:Adobe color picker, interpolation method:missing value, export clipboard:true, show tool tips:true, keyboard zoom resizes windows:true, auto update open documents:false, show Asian text options:false, beep when done:false, dynamic color sliders:true, save palette locations:true, show English font names:true, use Shift key for tool switch:true, number of history states:20, create first snapshot:true, nonlinear history:false, smart quotes:true, image previews:yes, icon preview:true, full size preview:false, Mac OS thumbnail:true, Windows thumbnail:true, append extension:yes, use lowercase extension:true, ask before saving layered TIFF:true, maximize compatibility:ask, recent file list length:10, display color channels in color:false, use diffusion dither:false, pixel doubling:false, painting cursors:brush size, other cursors:standard, grid size:medium, use video alpha:false, gamut warning opacity:100.0, ruler units:pixel units, type units:mm units, column width:180.0, column gutter:11.990478515625, point size:postscript size, guide style:solid line, grid style:solid line, grid subdivisions:4, show slice numbers:true, use additional plugin folder:false, additional plugin folder:missing value, cache levels:4, use cache for histograms:false, maximum RAM use:50, use history log:false, save log items:metadata, edit log items:sessiononly, save log items file:missing value, best type:reference, default type:reference, class:settings-object}
    set ruler units of settings to pixel units
    end tell
    tell application "Finder"
    get document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    end tell
    tell application "Adobe Photoshop CS"
    activate
    set display dialogs to never
    open alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    current application
    get current document
    document "pismall.gif"
    get height of document "pismall.gif"
    49.0
    get width of document "pismall.gif"
    116.0
    get name of document "pismall.gif"
    "pismall.gif"
    end tell
    tell current application
    offset of "." in "pismall.gif"
    8
    end tell
    tell application "Adobe Photoshop CS"
    save document "pismall.gif" in file "Macintosh HD:Users:bisd:Desktop:photos3:resized:pismall" of document "pismall.gif" as JPEG with options {quality:10} appending lowercase extension with copying
    "Adobe Photoshop CS got an error: General Photoshop error occurred.
    - The parameters for command “Save” are not currently valid."

  • Photoshop actions Scripts ?

    Hello all, I am trying to write a script for a folder ( on the desktop) of images to do a photoshop action.
    I'm new to scripting and haven't a clue to where to start.
    seems the more I search the more confused I get. I have a script started however. I keep getting errors. Can anyone here help me ?
    Here is what I have so far,
    tell application "Finder"
    activate
    set position of Finder window 1 to {583, 386}
    end tell
    tell application "Adobe Photoshop 7.0"
    activate
    set runscr to (make new RunScriptControl)
    set folder of runscr to alias "Prepress1:Users:prepress:Desktop:output:"
    set script name of runscr to {"do action crop test"}
    set destination of runscr to alias "Prepress1:Users:prepress:Desktop:output:"
    --uncomment next line if this script should start all runscripts
    start
    end tell

    replace the nameofaction and nameofset with your your action name and which set it's from (usually default)
    tell application "Finder"
        activate
        set this_folder to choose folder with prompt "where is the folder, oh great dtintn"
        set these_files to every file of folder this_folder
    end tell
    tell application "Finder"
        repeat with i from 1 to number of items in these_files
            set this_path to (item i of these_files) as string
            tell application "Adobe Photoshop CS"
                launch
                open file (this_path as string)
                set this_image to current document
                do action "writename_of_actionhere" from "writename_of_sethere"
            end tell
        end repeat
    end tell
    various   Mac OS X (10.4.7)  

Maybe you are looking for