Saving as jpeg in batch processing

Hello:
A "newbie" here.  I have recorded an action to put a watermark on photos.  When I run the batch, instead of it saving the image and going on to the next, it opens the image at the save prompt as a pdf, and i would have to choose jpeg in the drop down and save.  I don't have a save in my action; just the installation of the watermark.  some how the action worked find a few weeks ago; what am i doing wrong now?   I am using CS4 Extended.
Tks!!

Thank you!
Here are my actions:
Make text layer
select layer "background"
align current layer
align current layer
Select layer "@myname"
Set current layer
What really is disturbing, is this worked just fine a few weeks ago!  I didn't get the images to come up waiting for me to save them, they just automatically went directly into the folder i directed them to in the batch processing.

Similar Messages

  • Acrobat stripping out clipping paths from jpegs in batch processing

    Acrobat 8.
    I'm using the batch processing feature for watermarking both
    fpo jpegs (and low res pdfs) and I've noticed that when saving to
    jpeg, clipping paths in the original jpegs are lost.
    How do I get acrobat to retain the clipping paths?
    Thanks,
    TGMike.

    Hi,
    This isn't really the best place to post your problem as this
    is the forum for the acrobat.com service. I would advise you to
    check out the regular Acrobat forums at
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Batch Processing Raw to jpeg issue

    Hello All,
    I'm having issues converting raw files to jpeg using batch processing. When I go to open the raw files, bridge automatically opens an editor and I cannot record these actions within photoshop. What gives? Anyway to skip the editor or have PS record the action of me clicking "open image"? Or can I batch save within bridge to jpeg?
    Thanks in advance for your help,
    -FA

    Yes, thanks for the help. I had done that already once without the results I wanted, it was still bringing up the raw editor. After trying it again, I realize now it only does that for the first file, the rest of the batch continues opening without bringing up the editor each time. Thanks again.

  • I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is j

    I am batch processing in PS 2014 (watermark and saving as jpeg from ps file). I get the message for some but not all 'this file needs to be saved as a copy with this option'. And then I have to save it manually. Does anyone know why this happens? (It is just a plain photoshop file, a watermark is added, then save as jpeg - the jpeg is saved to a different folder than the original photoshop file.)  It happens for about 10 of 30/40  files approximately . Thank you, Kathryn

    I believe I have figured it out - I need to flatten the image, even though there are no layers except for layer 0, first.

  • Saving JPEG images in a batch process

    Please, I need help....
    I'm making an application that loads an image, perform some manipulations and save it into a JPEG file..
    The code I use to paint that image to a Graphics object is this:
              public void paintToImage(Graphics gr){               Graphics2D g = (Graphics2D)gr;               //CONFIGURO O RENDER PARA SER O MELHOR POSS?VEL                g.setRenderingHint(RenderingHints.KEY_RENDERING,RenderingHints.VALUE_RENDER_QUALITY);               g.setRenderingHint(RenderingHints.KEY_COLOR_RENDERING,RenderingHints.VALUE_COLOR_RENDER_QUALITY);               //seto o clip rect               g.setClip(0,0,w,h);               //pinto o fundo de branco               g.setColor(Color.white);               g.fillRect(0,0,w,h);               if(img==null)return;               g.drawImage(img, -origemXY.width, -origemXY.height,this); //'this' means an instance of my JPanel          }I call this method to paint my image into a BufferedImage this way:
         BufferedImage bi = new BufferedImage(myComponent.width,myComponent.height, BufferedImage.TYPE_INT_RGB);     myComponent.paintToImage(bi.createGraphics());If I call it to a single image (like an ActionEvent for a selected image) it works fine...
    But when I try to call it from a batch process, like a loop to paint several selected images, it aways produces a white JPEG.
    All the code inside my "paintToImage()" method works fine but the line "g.drawImage(img, -origemXY.width, -origemXY.height,this);".
    I know that because if I use "g.setColor(Color.red)" instead of "g.setColor(Color.white)" it produces a red JPEG.
    Could it be a proble with the ImageObserver that I'm using?
    The method below is invoked to save several images selected in a JTree, but it only produces white Images:
                   public void actionPerformed(ActionEvent e){                    TreePath paths[] = filesTree.getSelectionPaths();                    for(int i=0;i<paths.length;i++){                         filesTree.setSelectionPath(paths);//this line sets the selected image that is about to be painted by my previewPane into a BufferedImage                         try{                         BufferedImage bi = new BufferedImage(previewPane.getImagePane().getPreferredSize().width, previewPane.getImagePane().getPreferredSize().height, BufferedImage.TYPE_INT_RGB);                         previewPane.paintToImage(bi.createGraphics());                         /* write the jpeg to a file */                         File file = new File("D:/VER/0000" + i + ".jpg");                         FileOutputStream out = new FileOutputStream(file);                         /* encodes the image as a JPEG data stream */                         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);                         JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(bi);                              param.setQuality(1.0f, false);                         encoder.setJPEGEncodeParam(param);                         encoder.encode(bi);                         out.close();                         }catch(IOException ioex){                              ioex.printStackTrace();                         }                    }               }
    What is the problem?? What am I doing wrong?? any help wold be greate...
    Thank's all and aloha from Brazil...

    Reformat your problem, you can infinitly insert any number of '\n's here,

  • Batch Process Export As and Save As JPEG Question?

    What is the method for creating scaled JPEGs from PNG files with batch processing (File | Batch Process...)?
    Application environment: Fireworks CS4.
    Using History panel, I manually captured instructions
    Modify | Transform | Numeric Transform (13%)
    Modify | Canvas | Fit Canvas
    File | Save As (JPEG)
    History panel's saved JavaScript file script:
    fw.getDocumentDOM().scaleSelection(0.11999999731779099, 0.11999999731779099, "autoTrimImages transformAttributes");
    fw.getDocumentDOM().setDocumentCanvasSizeToDocumentExtents(true);
    fw.saveDocumentAs(null, true);
    Running this sequence as a batch job requires manually selecting JPEG and "okaying"
    CS4 documentation for saveDocumentAs is defined with different argument list: fw.saveDocumentAs(document) .  CS4 documentation also has: fw.exportDocumentAs(document, fileURL, exportOptions) to export JPEG (80% quality).  CS4 feature File | Image Preview... | Export does not create a history record for guidance.  I cannot find an example of either instruction save a file to a local folder in JPEG format.  My objective is to add an additional batch step Rename (prefix) for the JPEG output, and script this a a batch process.

    Joyce,
    Thank you.  Your suggestion helped clear my mental log jam.
    Fireworks batch scripting seems to work in reverse.
    Using "Batch Process..." scripting interface 'Export' (as JPEG) option first, 'Rename' (add Prefix) option second, and then follow these by using the history panel's 2 previously saved steps (Numeric Transform, Fit Canvas), batch process now works.  PNG file (list) is saved in targeted folder as a reduced scale JPEG with a prefixed file name.
    Batch Process allows the entire newly defined command sequence to be saved (script.js).  Placing this (renamed) file into Firework's batch look-up directory for scripts (C:\Documents and Settings\account_name\Application Data\Adobe\Fireworks CS4\Commands) does not work.  The file name does not display in "Batch Process" window "Batch options:" Commands drop-down list.
    Batch Process only works by recreating the above steps each use.
    The new (JavaScript) file is 26 KB.  Is script file size limited in Fireworks "Batch options:" feature?

  • No changes appear when batch editing Camera Raw Files and saving as jpegs

    When I batch edit my raw files, including saving the file as a jpeg, from bridge or photoshop the resulting file saved never includes any changes I made in the Camera Raw editor. For example if I have lightened the photo by changing the exposure in Camera Raw as a saved jpeg after batching the file is still as dark as when originally shot. Is there some little box I forgot to check or something? Thanks!
    andy

    I've seen something like this, but have not figured out why yet. In my situation I select a group of images in Bridge and go to Tools / Photoshop / Image Processor.
    There I click the "open first image to apply settings" box.
    Save in Same Location
    Save as JPEG, resize to fit (1200 pixels), Convert Profile to sRGB.
    No Action selected
    Include ICC Profile
    Run it and in Camera Raw roll the saturation down to -100 (convert to b&W).
    Click "Open Image"
    The process runs and the first image is converted to b&w, but the others are not.
    John

  • How to batch process multiple layers to jpegs

    I have over 500 layers of different texts over a simple background image. I need to move through each one of these layers, making only one and the background visible, then doing the same for the next, and saving each out as a separate .jpeg. I know how to batch process the jpegs giving each a different filename, but how do I move through the layers?
    Thanks.

    Hi, Paul--
    You were correct. The normal script didn't work at all. But I'm a bit confused about how to use Layer Saver. I currently have all the texts in groups, labelled 1-50, 51-100, etc. What settings should I use to get it to work?
    Thanks
    J.

  • Batch Processing Issues - RAW to JPEG in CS3

    Hi folks,
    I recently upgraded to CS3 form CS2. Over the weekend, I spent several hours tweaking/adjusting about 200 RAW images in Bridge, that I need to convert to JPGs. I used a Photoshop Batch action that I created some time back in CS2 to convert the images from RAW ("Save As" as JPG), but it didn't include any of the adjustments that I made to the images during the conversion process, because I had Ignore/Suppress Open Dialog checked. I unchecked that, and re-ran the action but am now being prompted to open each image. I then modified the action to include the "Open" command. Running the script now still doesn't quite seem to work as I'd expected. The only adjustment that is incorporated is cropping, but it doesn't process any of the tonal/color balance adjustments. All images have the modification icon on them, indicating that changes were made, but the Photoshop Batch command isn't incorporating them when opened via the Batch Processing command. Any suggestions on how to get this to work?
    I'm also very open to any other suggestions one may have on converting adjusted Camera RAW images to JPEG.
    Thanks,
    Kappabear

    <[email protected]> wrote in message <br />news:[email protected]..<br />>I am having the same issue as the user above (kappabear)... I am going to <br />>try the same options that PShock (Phil) gave...but what if I need to call <br />>someone for assistance..(I'll even pay for support, because when I called <br />>Adobe...they had no idea of what I was talking about)... Is there someone <br />>that can give pay support???<br />><br />> I too just upgraded to CS3 and have a wedding to get out today, and 700 <br />> images to save from RAW to JPG with many changes... Problem, I have a 6:00 <br />> am flight to catch in the morning and I still need to pack.. (ANY HELP <br />> from ANYONE would be greatly appreciated..)<br /><br />Ron,<br />Due to news server propagation time issues, I'm seeing your post before the <br />original one.  I'm guessing others may be experiencing the same thing.<br /><br />Normally, I'd just wait for the earlier post to show up, but you're in a <br />hurry.  If you post again, and include enough of the post you are replying <br />to, you may get more responses before your flight in the morning.<br />-- <br />Mike Russell  - www.curvemeister.com

  • Batch process not playing actions or saving

    I'm having trouble with batch processing on the PC at work.
    When using batch processing on my trusty but ancient Mac at home, one file opens, the action plays, and the file is saved and closed before the next file is opened. This is how I perceive batch processing is supposed to work.
    But for some reason, any attempt to do a batch process of any kind on the PC at work just opens all the files, then stops. No Actions are performed and nothing gets saved. It doesn't matter if "override action save as" is checked or not, and it doesn't matter what action I attempt to use for the batch. Creating a droplet does the same thing when files are dropped on the droplet.
    The office IT staff are decidedly unhelpful on this one. They know the OS and network, but little about the Adobe software. We're running Photoshop CS3 under Windows 7. This problem is slowing me down significantly on large jobs. It's especially frustrating because I know it should work, but it won't.
    Help?
    -Matt

    There you are, along with the details of one of my more frequently-used Actions. If I can get batches to work, I'll make a couple of Actions specifically for the batches that play a bunch of my other Actions.

  • Need help with batch processing picture packages

    Hi, I am having trouble batch processing picture packages is CS2.  (Windows).
    I have hundreds of images that need to be processed into picture packages and would love to find a speedier way to do this.
    I know how to create an action.  I know how to batch process from this action.  I also know how to create picture packages, but I cannot get the final result I am after - please read on....
    I have seperated all the images into their seperate folders for each style of picture package required.
    I can create an action for the picture package required and then do a batch process on the particular folder, but this leaves all the picture packages open on the desktop - as when you chose the close and save in the batch process - this only closes and saves the original image - the picture package has been created as a new document and is on the desktop still open - named Picture Package 1, Picture Package 2 - etc etc.
    I hope I am making some kind of sense here... (??!!)
    What I would like to happen is that the picture package will be saved over the original file (or to a new folder) with the original file name of the original image or maybe even with an adjustment to file name (e.g - orignal file name sc1234.jpeg - new file name sc1234packA.jpeg)
    So is this possible to do??  I'm thinking there must be a way.... i'm sure there are many group photographers out there who come across this everyday??
    Otherwise I have to save each picture package manually to original file name (via searching though files to match the original image to the picture package....) Very time consuming.
    Thanks for your help (in anticipation)...
    Jodie

    hmm - thanks for that - sounds like I will have to try and find some info and assistance regarding the scripting - it may be something I need to look into at a later time in the future....
    At the moment though I will have to plod along with this method I guess!
    Thanks for your assistance...
    Jodie

  • 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!

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

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

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

  • Batch processing problems-can anyone help?

    Setup: Quadcore, 4GB RAM, 4 internal drives all with plenty of space, Leopard OS, latest version.
    Software: CS4 with Photoshop Extended; all updates installed. I also have CS3 installed; only use Bridge and PS in both apps.
    Problem: Working in CS4. All edits/crops/corrections done in the Camera Raw window; all edits saved and viewable in Bridge. However, when I use Batch from the Tools dropdown (Tools > Photoshop > Batch), and check all the usual places, select an Action, select a Destination, and hit "Go", the results are totally weird. Some images process as expected, but many are at least two stops overexposed.
    All individual files will Open, and can be Saved As manually; all works fine. That is in fact how my assistant and I got the job done tonight. The Batch Action is simplicity itself: Open, Save As (JPEG level 9), and Close file—but if I run Batch on the same files that can be opened and Saved As perfectly, it all goes crazy; three quarters of the files are totally overexposed, in blocks (10–25, roughly), and at random.
    I have used the Ctrl + Alt + Shift after opening Bridge; I have run Cocktail; and lit the right incense. But this still will not work properly! Can anyone help???

    Batching the same files in CS3 works perfectly, in terms of the processed JPEGs at least being correctly exposed, but the CS4-only edits (like the healing brush) are not recognised, nor are many, tho' not all, of the crops.
    I have decided to deactivate and uninstall, then reinstall CS4, after upgrading to Snow Leopard. Usually, I wait for a few months for others to report on OS update interactions with CS and FCP, but since CS4 as installed was useless and I had done the usual resets of Preferences without any change to Batch Processing's reliability, I felt I could not be worse off.
    So, after upgrading to Snow Leopard, I will reinstall CS4 (and all apps this time, rather than just PS and Bridge, as I usually do) in case there are soime weird unintended consequences of a Custom install.
    Very frustrating and time-consuming, and I wonder what I might have done to create this problem—seeing as no one commented, I can only assume that this is an unique experience.
    I will report back today, hopefully.

  • Is there a way to trigger batch process via Applescript or Javascript?

    Based on what I've found so far on the internet, the answer is no. The Applescripts I've found so far that attempt to run a batch process don't work for me in either Acrobat Pro 8 or Pro 9.
    I've been using Applescript to automate a process that starts in InDesign (create PDFs), then goes to Acrobat to set open options (I've got a batch process for that but can't find a way to trigger it). If I can get that to work, I'll attempt to automate the task of using a Photoshop droplet to create JPEGs of a specific size from these PDFs.
    I've settled on InDesign CS3 for creating single-page PDFs from a multiple-page document, partly because I could not find a scriptable way to do this in Acrobat. I know just enough about Applescript to be dangerous. I know much less about Javascript.
    Any help would be appreciated.
    Thanks,
    Kevin Stauffer

    Kevin some thing like this for Photoshop should aid you
    set Todays_Date to do shell script "date \"+%d-%m-%y\""
    -- Create new folder to save to
    tell application "Finder"
    set Raster_Images to make new folder at desktop with properties ¬
    {name:"Rasterized PDF's " & Todays_Date}
    end tell
    -- Set Photoshop settings
    tell application "Adobe Photoshop CS2"
    activate
    set display dialogs to never
    set User_Rulers to ruler units of settings
    set ruler units of settings to pixel units
    -- set background color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:0}
    -- set foreground color to {class:CMYK color, cyan:0, magenta:0, yellow:0, black:100}
    end tell
    -- Get list of PDF's
    set The_Question to "Do you want to include all the subfolders" & return & "within your folder selection?"
    set The_Dialog to display dialog The_Question buttons {"No", "Yes"} default button 1 with icon note
    if button returned of The_Dialog is "Yes" then
    set Input_Folder to choose folder with prompt "Where is the top level folder of PFD's?" without invisibles
    tell application "Finder"
    set File_List to (files of entire contents of Input_Folder whose name extension is "pdf")
    end tell
    else
    tell application "Finder"
    set Input_Folder to choose folder with prompt "Where is the folder of PFD's?" without invisibles
    set File_List to (files of Input_Folder whose name extension is "pdf")
    end tell
    end if
    set File_Count to count of File_List
    if File_Count = 0 then
    display dialog "This folder contains no PDF files to rasterize!" giving up after 2
    end if
    -- Loop through the files in list
    repeat with This_File in File_List
    tell application "Finder"
    set The_File to This_File as alias
    end tell
    -- Tiger (OSX.4) shell call to count the pages
    set Page_Count to my PDF_Pages(POSIX path of The_File)
    if the result is not false then
    -- Loop Photoshop through the page count
    repeat with i from 1 to Page_Count
    tell application "Adobe Photoshop CS2"
    activate
    open The_File as PDF with options ¬
    {class:PDF open options, bits per channel:eight, constrain proportions:true, crop page:trim box, mode:CMYK, page:i, resolution:300, suppress warnings:true, use antialias:true, use page number:true}
    set Doc_Ref to the current document
    tell Doc_Ref
    flatten
    -- Enter your name strings into two enties below
    -- Case sensitive stings
    -- do action "My Action" from "My Action Set"
    -- New file naming options
    set Doc_Name to name
    set ASTID to AppleScript's text item delimiters
    set AppleScript's text item delimiters to " "
    set Doc_Name to text items of Doc_Name
    set AppleScript's text item delimiters to "_"
    set Doc_Name to Doc_Name as string
    set AppleScript's text item delimiters to "-"
    set Doc_Name to text item 1 of Doc_Name
    set AppleScript's text item delimiters to ASTID
    if Page_Count = 1 then
    set New_File_Name to (Raster_Images as string) & Doc_Name & ".tif"
    else
    set File_Number to ""
    repeat until (length of (File_Number as text)) = (length of (Page_Count as text))
    if File_Number = "" then
    set File_Number to i
    else
    set File_Number to "0" & File_Number
    end if
    end repeat
    set New_File_Name to (Raster_Images as string) & Doc_Name & "_" & File_Number & ".tif"
    end if
    end tell
    save Doc_Ref in file New_File_Name as TIFF with options {byte order:Mac OS, embed color profile:false, image compression:LZW, save alpha channels:false, save layers:false}
    close current document without saving
    end tell
    end repeat
    end if
    end repeat
    -- Set ruler units back to user prefs
    tell application "Adobe Photoshop CS2"
    set ruler units of settings to User_Rulers
    end tell
    beep 3
    -- OSX Tiger shell handler
    on PDF_Pages(This_PDF)
    try
    do shell script "/usr/bin/mdls -name kMDItemNumberOfPages" & space & quoted form of This_PDF & " | /usr/bin/grep -o '[0-9]\\+$'"
    on error Error_Message number Error_Number
    if Error_Number is 1 then
    display alert "Page Count Unavailable" message "The page count for " & This_PDF & " is unavailable." giving up after 3
    return false
    else
    display alert "Error " & Error_Number message Error_Message giving up after 3
    return false
    end if
    end try
    end PDF_Pages
    and something like this to perform JavaScript from within AppleScript for Acrobat
    You would be better talking to the JavaScript Experts on how to use addScript() to get your doc level scripts in.
    property Default_Path : (path to desktop folder as Unicode text) as alias
    property JavaScript : "var re = /.*\\/|\\.pdf$/ig; var filename = this.path.replace(re,''); try { for (var i = 0; i < this.numPages; i++) this.extractPages( { nStart: i, cPath: filename+'_' + (i+1) +'.pdf' }); } catch (e) { console.println('Aborted: '+e) }" as text
    set The_PDF to choose file default location Default_Path ¬
    with prompt "Where is the multi-page PDF?" without invisibles
    tell application "Adobe Acrobat 7.0 Professional"
    activate
    open The_PDF
    tell active doc
    do script JavaScript
    close saving yes
    end tell
    end tell

Maybe you are looking for

  • How to pass data from one page to another

    i have a table with multiselect and i want that in the moment i select some rows and press on a button in the other page should be displayed only those data i have selected from previous one.... how can i do this? any link or example for this case? t

  • Looking for home theater

    I'm looking to add surround sound to my home theater setup. I'm not exactly what i need or where to start. I have a 47" lcd tv, a ps3, and my dish reciever that i would like to have all hook up through surround sound.  Any help would be appreciated.

  • Dont want account posting while return

    Dear All    I am facing one problem in one scenario. In return case i dont want one condition type to post. i dont want post one condition in that particular account. i am using the same pricing procedure for sales cycle and return sales. and that co

  • Database is up to date but some sites are not be completely upgraded

    I am getting "Upgrade Available" on all servers in the farm. On closer inspection, the above message is coming up in the "Review Database Status" area. I have run the Upgrade-SPContentDatabase command on the database but although it says it complete,

  • J2EE server doesn't start (has been starting..) EP6SP9 on Windows XP Pro.

    I am trying to install EP6 SP9 sneak preview edition. Just I followed the instructions. Installation is successful. After that I installed PDK6(6090) using SDM. I also exported initial data objects to SLD. When I restart the from SAPMMC console, jcon