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

Javascript batch processing?

vhe
Registered: Sep 1 2011
Posts: 4
Answered

Hi!
I'm still very new to Acrobat, but, given a javascript, is it possible to have this executed without the user doing anything?
I'm looking for something like
* acrobat.exe -file x.pdf -executejavascript x.js
or even just
* acrobat.exe -executejavascript x.js (if it's possible to open a pdf from the js file)
which then, opens the file, plays with it and saves it into a differently named file. This whole job is supposed to run unattended and at night.
 
So far I've seen http://www.evermap.com/autobatch.asp. Is this the only way?
 
Or can I talk to Acrobat via COM and make it open a pdf and execute a java script on it?
 
Lots of Greetings!
Volker

My Product Information:
Acrobat, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Accepted Answer
It's not possible to do that using a command-line argument. You need a plugin (like AutoBatch) or some other kind of external app.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

vhe
Registered: Sep 1 2011
Posts: 4
Pity.
Ok, thanks very much!
Volker