Re: Javascript/ Batch Processing - Query (Please assist/advice)
******Example: Let us just say that there are 3 Main headings on the content page. They are:CONTENT PAGE:Weekly NewsRegularsReviews They also have PAGE NUMBERS where each article starts for the...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Based on the bookmark createchild i like this idea. I would like to delete the existing bookmarks first then add my own bookmarks. How do i do this?
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Can it identify text with a certain color, and/or font style?No. Is it able to select the number of the heading and use that number as the set destination?No. I would like to delete the existing...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
The latter answer you wrote..., I assume you referring to this.bookmarkRoot.remove(); I have more queries. Can Scripting, also: 1. Execute a plug-in software, which I have installed to use inside...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
I assume you referring to this.bookmarkRoot.remove();Well, this.bookmarkRoot.remove() will remove all the bookmarks, but the remove() method can also be used to remove specific bookmarks. 1. Execute a...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
this.extractPages({nStart:5, cPath: "TestExtract1.pdf"}); It just saves the entire extract which I have asked to extract, into one full pdf file. My purpose what I want it to do, is for it to save the...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
"Acrobat has two folders for batch sequences, one for system ones and one for user-defined ones. You can find out what the user-defined path is on your machine by executing the following code from the...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Then call it multiple times, each time for each page number you want toextract (using different file names, obviously).
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Did you execute it using Ctrl+Enter?
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Hey Try67 Check this out... Here is a looping system for extraction for(var i=0; i<this.numPages; i+=1){ var extr = this.extractPages({nStart: i, nEnd: i}); extr.closeDoc(true);} It works by...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
You need to specify the cPath parameter with a unique file name (you can usethe value of the iterator i in the file name)...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Like this??? for(var i=0; i<this.numPages; i+=1){ var extr = this.extractPages({nStart: i, nEnd: i, "c\extr\page" + 1}); extr.closeDoc(true);}
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Almost. The path needs to have the correct syntax used by Acrobat JS forfiles, and must also end with ".pdf", so something like this:cPath: "/c/extr/page" + 1 + ".pdf"(I'm assuming here you're running...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Got the script to work eventually for extraction. The next issue is how to extract single pages for multiple pdf files, without it overriding the extractions. For example, If we have two PDF files in...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
You need to use some kind of unique identifier in the filename, for exampleyou can use the original file name or define some kind of global counterthat you increment after each save.
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Is there a method ,or a coding, that will give me the sourcefile name of the file I am busy extracting. Purpose what I would like to achieve, is for the extracted single page to be saved, with the...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
Hi Try The documentFileName works. However it saves filename with text info such as TRA5035...blah blah... Irrevalent info put as a filename for extraction. It has to saves such as...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
I don't really understand. documentFileName returns just the file name(including the extension).If you don't want the full file name there are various options of editingit, like with a regular...
View ArticleRe: Javascript/ Batch Processing - Query (Please assist/advice)
lol...my bad It is actually working...but it is adding the ".pdf" extension. How can I remove the extension of the DocumentFileName, so that I only adds just the filename and no extension? eg. If the...
View Article