Ask a Question related to Adobe Acrobat Windows, Design and Development.
-
Ken_Blesse@adobeforums.com #1
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
-
batch processing
Yep, you need to create a action, then you can run this as a batch file. -
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... -
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... -
Batch Processing with Levels ad PS 5.5
Batch processing with Levels and PS 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... -
s_stewart@adobeforums.com #2
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
-
Todd #3
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



Reply With Quote

