These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Automated document processing

andyjenn
Registered: Oct 4 2007
Posts: 4

For a given folder or file, I would like to create a script for automatic processing as detailed by the following navigation paths (in Acrobat Professional 8.1) :-
i. Document -> 'OCR Text Recognition -> 'Recognise Text Using OCR' .
ii. Advanced -> 'Document Processing' -> 'Full Text Index with Catalog'
ii. Each time the script is run the index is appended with the new information and in doing so building
up a searchable index of all documents each time the script is run.
Do I create an Adobe-Plugin to do this?
Can it be done with JavaScript?
How can I integrate this with my Adobe Flex/ActionScript application?
Whilst I am not asking for a complete solution, any pointers would be greatly appreciated.

My Product Information:
Acrobat Pro 8.0999999999999996447286321199499070644378662109375, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The first two items cannot be done with Acrobat JavaScript. But they can be done with a batch process.

You could write a very nice plug-in solution, but you have a big hill to climb before you'll know enough to do it.

There is no easy, or reliable path between Acrobat and Flex applications, i.e., there is no official way to do this. You'd have to do some hacking.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

andyjenn
Registered: Oct 4 2007
Posts: 4
Hi Thom,
Ok, Flex integration – maybe I’m reaching too much. But to automate just the OCR/Indexing steps. Can I script the above batch processing and run that sequence from the command line, so I don’t have to open Acrobat – is this possible?
Thanks very much for your input...
Andy.