Batch Processing, not quite batch

Ask a Question related to Adobe Acrobat Windows, Design and Development.

  1. #1

    Default Re: Batch Processing, not quite batch

    Did anyone come up with a solution or at least an explination for this? I am having the same issue trying to batch convert TIFF files to PDF.
    Ken_Blesse@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. batch processing
      Yep, you need to create a action, then you can run this as a batch file.
    2. Batch processing in Illustrator 10
      Click the round arrow icon at top right of the Actions window. That is how you display the menu with the Batch command. First you need to create...
    3. Batch processing Raw files in CS
      I am having trouble batch processing raw files in CS - I want to have a folder of tiffs for each raw file. I have followed the directions in the help...
    4. Batch Processing with Levels ad PS 5.5
      Batch processing with Levels and PS 5.5
    5. Batch Processing not available???
      Hi all, I'm using a trial version of FW and wanted to try out the batch processing functionality. I went through the wizard to simply scale a few...
  3. #2

    Default Re: Batch Processing, not quite batch

    I've also come into problems creating a set of bookmarks using Javascript in Acrobat 6.0.1 Pro. I did find that the code flawlessly worked in Acrobat 5 and according to the documentation no code had been altered. I tested this on at least 4 machines with same result -- Acrobat 6 crashing. Have you tried wih 5?

    Anyway, it may not be the answer you want but there are other tools on the market for meeting these demands.

    For automated bookmarking of documents, perhaps it may be worth checking out the demo of ARTS PDf Bookmarker, <http://www.artspdf.com/arts_pdf_bookmarker.asp>.

    For converting TIFFs to PDF in batch, ARTS Import, <http://www.artspdf.com/arts_import.asp>.

    There may well be other solutions out there.

    Hope this helps...
    - Sean.
    s_stewart@adobeforums.com Guest

  4. #3

    Default Re: Batch Processing, not quite batch

    Did anyone find a solution to the javascript problem? I too am
    creating a bookmarking structure which I apply to several documents
    using batch processing. I had no trouble with version 6.0.05, but when
    I upgraded to version 6.0.1, the batch process runs fine on 5 of the
    documents and then hangs, freezing up the application, to the point
    where I have to kill the process using Task Manager.


    Below is the script that works fine on any number of pdfs using
    6.0.05, but freezes using 6.0.1--Any suggestions?:

    --------------Javascript from here to the end --------------
    //same for all batches

    var root = this.bookmarkRoot;
    var bmrChildren = root.children;
    if (bmrChildren != null) {
    for (var i = 0; i < bmrChildren.length; i++){
    bmrChildren[i].remove();
    }
    }
    this.baseURL = "http://xxx.xxx/xxx/";

    root.createChild("Reading and Math Literacy Masters
    (English)","this.getURL(\"readingliteracy.pdf\")") ;
    root.children[0].createChild("Chapter 1",null,0);
    root.children[0].children[0].createChild("1A: Graphic
    Organizer","this.getURL(\"A10101RA.pdf\")",0);
    root.children[0].children[0].createChild("1B: Reading/Writing Math
    Symbols","this.getURL(\"A10104RB.pdf\")",1);
    root.children[0].children[0].createChild("1C: Reading
    Comprehension","this.getURL(\"A10108RC.pdf\")",2);
    root.children[0].children[0].createChild("1D:
    Vocabulary","this.getURL(\"A1010ARD.pdf\")",3);
    root.children[0].createChild("Chapter 2 ",null,1);
    root.children[0].children[1].createChild("2A: Graphic
    Organizer","this.getURL(\"A10201RA.pdf\")",0);
    root.children[0].children[1].createChild("2B: Reading/Writing Math
    Symbols","this.getURL(\"A10203RB.pdf\")",1);
    root.children[0].children[1].createChild("2C: Reading
    Comprehension","this.getURL(\"A10206RC.pdf\")",2);
    root.children[0].children[1].createChild("2D:
    Vocabulary","this.getURL(\"A1020ARD.pdf\")",3);
    root.children[0].createChild("Chapter 3 ",null,2);
    root.children[0].children[2].createChild("3A: Graphic
    Organizer","this.getURL(\"A10301RA.pdf\")",0);
    root.children[0].children[2].createChild("3B: Reading/Writing Math
    Symbols","this.getURL(\"A10303RB.pdf\")",1);
    root.children[0].children[2].createChild("3C: Reading
    Comprehension","this.getURL(\"A10305RC.pdf\")",2);
    root.children[0].children[2].createChild("3D:
    Vocabulary","this.getURL(\"A1030ARD.pdf\")",3);
    root.children[0].createChild("Chapter 4 ",null,3);
    root.children[0].children[3].createChild("4A: Graphic
    Organizer","this.getURL(\"A10401RA.pdf\")",0);
    root.children[0].children[3].createChild("4B: Reading/Writing Math
    Symbols","this.getURL(\"A10402RB.pdf\")",1);
    root.children[0].children[3].createChild("4C: Reading
    Comprehension","this.getURL(\"A10405RC.pdf\")",2);
    root.children[0].children[3].createChild("4D:
    Vocabulary","this.getURL(\"A1040ARD.pdf\")",3);

    NameFileObject = {readingliteracy:"Reading and Math Literacy Masters
    (English)", A10101RA:"1A: Graphic Organizer", A10104RB:"1B:
    Reading/Writing Math Symbols", A10108RC:"1C: Reading Comprehension",
    A1010ARD:"1D: Vocabulary", A10201RA:"2A: Graphic Organizer",
    A10203RB:"2B: Reading/Writing Math Symbols", A10206RC:"2C: Reading
    Comprehension", A1020ARD:"2D: Vocabulary", A10301RA:"3A: Graphic
    Organizer", A10303RB:"3B: Reading/Writing Math Symbols", A10305RC:"3C:
    Reading Comprehension", A1030ARD:"3D: Vocabulary", A10401RA:"4A:
    Graphic Organizer", A10402RB:"4B: Reading/Writing Math Symbols",
    A10405RC:"4C: Reading Comprehension", A1040ARD:"4D: Vocabulary"}
    //same for all batches

    this.addScript("Open", "app.openInPlace = true;");

    function closeUp(bm){
    if (bm.children != null){
    for (var i = 0; i < bm.children.length; i++){
    bm.children[i].open = false;
    closeUp(bm.children[i]);
    }

    }
    var rootKids = this.bookmarkRoot.children;
    for (var i = 0 ; i < rootKids.length; i++)
    rootKids[i].open = true;
    }


    closeUp(this.bookmarkRoot);

    function findBM(bm, bmToFind) {
    if (bmFound == true) return bm;
    if (bm.name == bmToFind){
    global.bmToOpen = bm;
    global.bmToOpen.color = color.red;
    global.bmToOpen.style = 2;
    bmFound = true;
    }
    if (bm.children != null)
    for (var i = 0; i < bm.children.length; i++)
    if (bmFound == true){
    break;
    }
    else {
    findBM(bm.children[i], bmToFind);
    }
    }

    function openBM(){
    var parentBM = null;
    var _foundBM = null;
    if (global.bmToOpen == null) return;
    else{
    _foundBM = global.bmToOpen;
    while ( (parentBM = getParent(_foundBM)) != null) {
    parentBM.open = true;
    _foundBM = _foundBM.parent;
    }
    }
    }

    function getParent(bm){
    return bm.parent;
    }

    var bmFound = false;
    var truncFileName = this.documentFileName;
    truncFileName = truncFileName.substring(0,truncFileName.indexOf(". "));

    findBM(this.bookmarkRoot, NameFileObject.eval(truncFileName));
    openBM();
    Todd Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139