Hi
My problem is I work with around ([b]20,000 PDF documents per folder[/b] / twenty thousand documents per folder - no joke) and I need to review them.
Amazingly... you'd think I will never end, but reading 50 documents per day (which is not a huge quantity of work, then I'll finish my job in 1 year 3 months approximately. That is reading 50 documents from monday to saturday in a full time basis of 8 hours.
Okay. [b]I wished to do more pleasant my job[/b] with that HUGE quantity of information, [b]marking in yellow a list of important words, for example:
urgent
delayed
granted[/b]
Then, my work is easier, because I open the PDF, I browse fast with the mice thru the document, and bingo I see all the important words in yellow.
[b]I've learned Acrobat allows the [u]Batch Processing[/u], so using a [u]Javascript code[/u] I can automate a sequence of tasks.[/b]
[b]What I need is a simple Javascript code for Adobe Acrobat that automate tasks (Batch Processing), and can do the following:[/b]
1. Accomplish a search in the documents stored in a certain folder, let's say [i]c:\documents[/i]
2. Then mark in yellow a list of important words, for example: urgent, delayed, granted
3. Then save the document in a different folder, let's say [i]c:\accomplished[/i]
4. Finally, continue again with the next document until finish the folder [i]c:\documents[/i], marking all the documents inside and saving them marked in the [i]c:\accomplished[/i] folder.
[b]A simple script doing this, could be really helpful for many people which are working with thousands of documents daily[/b].
People which would use this script are: Doctors in hospitals which need to review thousands of medical histories from patients in PDF files looking for treatments of patients which are taking certain drugs... Legal professionals to look important words in legal documents, Researchers to look up for important content inside documents, students allowing them to concentrate in the important information before the exams)
[b]Please, could someone post a simple script doing this?[/b]
I'd be really grateful.
Thanks
To do this remove the coordinate manipulation, i.e. the matrix2D stuff. Then change "addLink()" with "addAnnot()". And of courese change the input parameters to what's needed to place a highlight annot.
Download the Acrobat JavaScript Reference from here:
http://www.adobe.com/devnet/acrobat/javascript.php
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script