How to maintain page order in load pdf/save pdf

(Photoshop CS6)
I want to apply one and the same action to all pages of a pdf-file. The pages have a systematic error, too dark.
So:
1. load pdf-file
2. select all pages
3. apply action, in my case change level, to all pages
4. save all pages as pdf-file, in the original page order.
Thanks,
Peter J. Veger, Best

You could use this script to save the pdf, as it will reverse the order of the documents....
#target Photoshop
app.bringToFront();
main();
function main(){
if(!documents.length) return;
var win= new Window('dialog');
win.pnl1 = win.add('panel', undefined, undefined, {borderStyle:"black"});
win.g5 = win.pnl1.add('group');
win.g5.alignChildren="center";
win.g5.title = win.g5.add('statictext',undefined,'Save PDF');
win.g5.title.graphics.font = ScriptUI.newFont("Georgia","BOLDITALIC",20);
win.g10 = win.pnl1.add('group');
win.g10.orientation="column";
win.g10.alignment=["left","fill"];
win.g10.st1 = win.g10.add('statictext',undefined,'Please enter file name');
win.g10.st1.helpTip="Do not add the suffix .pdf";
win.g10.et1 = win.g10.add('edittext');
win.g10.et1.preferredSize=[250,20];
win.g10.st2 = win.g10.add('statictext',undefined,'Please select output folder ...');
win.g15 = win.pnl1.add('group');
win.g15.orientation="row";
win.g15.alignment=["left","left"];
win.g15.et1 = win.g15.add('edittext');
win.g15.et1.enabled=false;
win.g15.et1.preferredSize=[250,20];
win.g15.bu1 = win.g15.add('button',undefined,'Browse');
win.g15.bu1.onClick = function() {
  outputFolder = Folder.selectDialog("Please select the output folder");
if(outputFolder !=null){
  win.g15.et1.text =  decodeURI(outputFolder.fsName);
win.g100 = win.pnl1.add('group');
win.g100.orientation="row";
win.g100.bu1 = win.g100.add('button',undefined,'Save PDF');
win.g100.bu1.preferredSize=[165,30];
win.g100.bu2 = win.g100.add('button',undefined,'Cancel');
win.g100.bu2.preferredSize=[165,30];
win.g100.bu1.onClick=function(){
if(win.g10.et1.text == ''){
    alert("No file name has been entered!");
    return;
if(win.g15.et1.text == ''){
    alert("No output folder has been selected!");
    return;
win.close(0);
var Names=[];
for(var a=0;a<documents.length;a++){
    Names.push(decodeURI (documents[a].name));
Names.reverse();
var SaveFile = File(outputFolder + "/" + win.g10.et1.text + ".pdf");
makePDF(Names,SaveFile);
win.show();
function makePDF(Names,SaveFile) {
var desc = new ActionDescriptor();
var list = new ActionList();
for(var z in Names){list.putString( Names[z].toString() );}
desc.putList( charIDToTypeID('flst'), list );
desc.putPath( charIDToTypeID('T   '), new File( SaveFile ) );
desc.putBoolean( stringIDToTypeID('includeAnnotations'), true );
desc.putEnumerated( charIDToTypeID('BckC'), charIDToTypeID('BckC'), charIDToTypeID('Wht ') );
var desc2 = new ActionDescriptor();
desc2.putString( stringIDToTypeID('pdfPresetFilename'), "High Quality Print" );
desc2.putBoolean( stringIDToTypeID('pdfPreserveEditing'), false );
desc2.putInteger( stringIDToTypeID('pdfCompressionType'), 7 );
desc.putObject( charIDToTypeID('As  '), charIDToTypeID('PhtP'), desc2 );
executeAction( stringIDToTypeID('PDFExport'), desc, DialogModes.NO );

Similar Messages

  • How to change page order in Acrobat Porfolio?

    How to change page order in Acrobat Porfolio? In older versions it use to be much easier to drag and drop the page order. I don't see any menu options on arranging the pag order. Any ideas? Thanks.
    I would post a screenshot but they have been disabled on these forums.

    You should ask in the Reader forum. But my guess is that Reader there is nothing you can do. Acrobat allows you to move pages around, but not Reader.

  • How to save book in pdf tiff 300 dpi? with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    how to save book in pdf tiff 300 dpi?
    with these steps file -print book- PDF- save PDF to folder as TIFF 300 dpi does not work

    Hi pissedadobeuser,
    Does this issue occur with any particular web page?
    Are you able to print the webpage to 'Adobe PDF' to convert it to pdf.
    Which Browser version, OS version and Acrobat version are you using?
    Regards,
    Rave

  • How to change page order in a PDF file?

    Hi, how can I change the page order in my PDF file? I had read that it is possible but my editing options are showed gray and also my security settings cannot be edited.
    Do I need a special software? I have Acrobat Reader, and my document was exported from Illustrator as a PDF.

    You should ask in the Reader forum. But my guess is that Reader there is nothing you can do. Acrobat allows you to move pages around, but not Reader.

  • How to  sort page order in pdf file

    how do I rearrange  page order in pdf file

    Hi rainbowbowral,
    To reorder pages, you need the full version of Acrobat. If you'd like, you can download a free 30-day trial from www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • How to move page order in a document created in Pages 5.1

    How do you move page order in Pages I used to be able to click and drag the thumbnails but can't in latest version (5.1)

    You should ask in the Reader forum. But my guess is that Reader there is nothing you can do. Acrobat allows you to move pages around, but not Reader.

  • Page order when reading an Arabic PDF

    Hi everybody,
    I need help with an issue I am having. When I view a book on the two -page scrolling view, the order of the pages is odd paged number is on the left and the even numbered page on the right.
    When reading arabic, it is read from right to left, so this causes an issue if the smaller page number is on the left and the greater page number on the right since this would mean I have to read an arabic book which reads from right to left the same as an english book which reads from left to right.
    My question is, whether I am able to change the page order of the two-page scrolling view so that the even paged numbers are on the left and the odd paged numbers on the right so it is easier to read an arabic book so it seems as if I am actually reading the book in its actual pageorder.
    Any help would be appreciated.
    Thanks

    Have a look under Edit - Preferences - Language. Make sure the RTL options are enabled.

  • How to Reverse Page Order in Acrobat Pro 9

    Hello Community,
    I thought this would be an easy thing to do in Acrobat but so far I am finding it is not.
    I am creating a PDF from multiple files, they are jpegs, and I am dragging and dropping them into the "combine files" window in the order I want them to be displayed. However Acrobat reverses this order as you put them in and then gives you no chance to switch the order. It gives you the option to move the order one by one (which is nearly impossible when the jpeg titles are img1824, img1623, etc.) so they other option is to add the files I want backwards, which my brain can not do, I like to work forwards, not backwards nor should I have to.
    So once I create this backwards PDF, isn't there a way to just reverse the order of the pages? any help is appreciated.
    e~

    Wow GQDiaz,
    What a wonderful gift you have given us! You have saved me hours of shuffling pages one by one between large cumbersome document scans.
    Your script works like a dream. Thank you for this gift.
    With kind regards,
    jaxios

  • How to maintain line size when converting word2007 to PDF?

    I use border and shading to make lines. When I converted, the line size just randomly change. The file looks really bad. I have tried lots of PDF printer softweare, but it keeps same problem. Does anyone know how to solve it?

    Hi Jenny,
    Please try changing following Preference Setting.
    Go to Edit -> Preferences -> Page Display -> Check "Enhance thin lines"
    Regards,
    Anoop

  • How to? Pages document with movie embeded to pdf

    Hi,
    I have a pages document ('09 version 4.3) with a movie (mp4) embeded.
    But when I export it to a pdf the movie changes to a still.
    But pdf supports movies right? So, does anybody know how to export the pages document into a pdf and still have a working movie?
    Thanks in advance!

    MV,
    That's a Preview/PDF problem, more than a Pages one. I believe that you will be able to add an embedded movie using Acrobat Pro.
    Jerry

  • How to maintain Strict Ordering of messages using SOA Suite where AQ is used for persistence.

    The requirement is this -
    Source DB -> Poller DB Adapter-> BPEL -> AQ -> DEQUEUE -> Target System
    Messages are DEQUEUED from an AQ (second part above - AQ -> DEQUEUE -> Target System) . The messages in this AQ are to be sent strictly in order to the Target system. In case there is an error during this processing of messages from the AQ to the Target system. The process should HALT and the message must be rolledback. Put in other words - the interface should stop . There must be no message loss in any circumstances. There should not be any further dequeue of messages or there should be no more instances created due to this. Only when someone has seen this error / error message  and acted on this error message/error shall this processing get started. Any idea how do we achieve this using SOA Suite 11g? Hope I have been able to explain well about the problem.
    Environment -  has two soa managed servers on weblogic (clustered).
    Please suggest ways to achieve this scenario. This is very crucial and needs implementation within 2 days of time.

    Hi,
    You can use Mediator Resequencing if looking for a standard solution. Else introduce Timestamp while pushing messages in AQ and sort them by Timestamp during processing - not a neat solution though.
    Regards,
    Neeraj Sehgal

  • How to maintain the order unit ( purchasing )

    Dear all,
       In MM03,under purchasing view,there's one column order unit( MARA-BSTME ),how should i add in data into this field? pls advice,thank you.

    Hi,i need to change something...refer to the pic,the ROL - ROLE..i need to do some changes to the ROLE become ROLL as requested by the user..how should i do it? Thanks
    <a href="http://img141.imageshack.us/img141/1237/94746553yx0.jpg">http://img141.imageshack.us/img141/1237/94746553yx0.jpg</a>

  • How to maintain format of ".rtf" file after save?

    Hello and thank you for taking your time. I have been facing some problems with my project for a while regarding the
    LoadFile  method . I have a project in Which I can can select several things and show them in a different
    RichTextBox. Now, through the press of a button I can Save the contents of that of That
    RichTextBox (The contents are formatted as in they have Bolded Text) in a
    Rich Text File (.rtf) . I implemented the method of saving through creating a function called "WriteInFile" which writes the Boxes` contents in a ".rtf" file.  This is The code :
    public void writeInFile(String name)
    name = "Your Program";
    name = String.Concat(name, ".rtf");
    file = name;
    TextWriter tw = new StreamWriter(@name);
    tw.WriteLine(textBox1.Text);
    foreach (var line in richTextBox1.Lines)
    tw.WriteLine(line);
    tw.Close();
    Then I load "Your Program.rtf " through  the press of a different button, in the
    same RichTextBox using the following code :
    private void button4_Click_1(object sender, EventArgs e)
    richTextBox1.LoadFile("Your Program.rtf", RichTextBoxStreamType.PlainText);
    My problem is that when I load the file I want it tokeep its format,with bold etc. If I use the same code but insert ".RichText" It says that the format is invalid
    (throws an exception) using ".PlainText" is fine ,also using a ".txt" format is fine it is just that
    the format is not kept . I really do not know how to solve this...
    Thank you for your time!

    Try a different way:
    // save:
    richTextBox1.SaveFile(name, RichTextBoxStreamType.RichText);
    // load:
    richTextBox1.LoadFile(name, RichTextBoxStreamType.RichText);

  • Save PDF to JPEG Options

    Under the Print menu, for the Safve PDF to JPEG option, is there an option to save to a high quality JPEG?

    The pixel size of the jpeg will depend on the paper size you selected - a larger paper size will give a larger pixel size of the resulting jpeg, but I don't think there is a quality slider anywhere.  When I export an image version with a jpeg original from the print dialog, the file size does not change much and I see no difference in quality, so I assume the quality will be high by default.
    I like to use this export settings:
    Print > Pdf > Save PDF to Aperture
    and in the "Import" panel select "Jpeg".
    For example: exporting a file with the paper size set to A4, will result in a jpeg with a pixelsize 2338 × 1652 (3,9 MP), exporting to a custom size 40x60 cm gives a jpeg with 3150 × 4725 (14,9 MP).
    Regards
    Léonie

  • How to turn a doc designed for spread  into a page ordered pdf?

    I am a relative InDesign newbie, so please excuse my ignorance. I have document of installation instructions that is printed on a single double-sided piece of paper, which is then folded. So in InDesign, there are two layout spreads. The first one includes actual pages 2,3,4,5,6,7,8, and 9. The second one includes 10,11,12,13,14,15,16, and 1.
    After updating this I want to create both a spread version of the pdf for a printer, plus a regular page ordered pdf for web viewing. I am not clear on how to do this.
    I am using CS5.
    Thank you in advance for your help.

    There are two "pages". Not sure how they are referred to in InDesign, but when you look at the InDesign doc, you see two separate "pages", each one divided into 8 sections. There is also a third "page" which includes all the specs for the printer (it is in the spread version of the pdf, but is not printed and not included in the web version of the pdf).

Maybe you are looking for

  • DVI to S-Video adapter worth it?

    Just bought a MBP and will be connecting to an LCD projector for presentations. Traditionally I have connected via S-video and I've appreciated the ease of set-up. Is the DVI to VGA connection that much sharper on the screen through a projector?

  • Can no longer boot from DVD or USB HD since installing Win10

    5/2/15 I download and installed the latest Win10 last week and popped it on a spare HD I have in the system;  the mistake I made was to leave my SSD which has Win7 on it connected during the install.  Now I'm in a bit of a pickle. When I boot up with

  • Why named parameter can't be used multiple times in PL/SQL block in JDBC

    with the following PL/SQL block, when I run int in JDBC, I get an error, it says, The number of parameter names does not match the number of registered parameters. if all named parameters are used only once, then my program works fine. My old program

  • Vendor/customer  Master data

    Dear Experts If existing vendor inform as with the letter, company name is  change form July 2009 ,what are the steps to be followed in sap If i change the Vendor Master from FK02 Transaction code, vendor master data will be changed. If i see the ven

  • Reg:sequence

    Hi All, I am using Oracle 10.2. I had a query as: SELECT schma1.ASN_IR_ID_SQ.NEXTVAL *               INTO seq_11 FROM DUAL;* when i run this query i am getting error as : ora-     02289: sequence does not exist Thanks