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

Starting Acrobat from code

richardwq
Registered: Feb 26 2007
Posts: 2

Dear Expert,
 
I'm trying to get Adobe 8 (Standard) to automatically convert a batch of pdfs to text on a daily basis.
 
I have figured out how to create a batch process; however I have to actually open Acrobat to get that to work.
 
Is it possible to open Acrobat from code? Is there a call to the JSObject that will do it, or should I use a command-line call to fire up Acrobat to do the batch processing?
 
Thank you in advance.

My Product Information:
Acrobat Standard 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
First, there is no way to execute a batch process except manually. There are no command line parameters, JavaScript functions, etc.

Second, You are essentially trying to use Acrobat as a Server. This is explicitly prohibited in the License Agreement. However there are some legal ways you can do what you want.

#1. Get SWITCH from Gradual Software
#2. Use VB and the Acrobat IAC API (and the JSO) to write your own batch process.

Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

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