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

How to start java script

crestglobal
Registered: Oct 15 2008
Posts: 14

I want to understand basic from starting javascript to make any button on tool bar. I need one button for batch processing on tool bar, that will help me to do shortcut.

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
What you are asking about is creating an automation tool. You'll find some information about this in the articals on JavaScript Corner. This one is about creating a button for adding security to a PDF. It covers creating a button.

http://www.acrobatusers.com/tutorials/2007/10/apply_security_with_js/

You'll also find tutorials, and already written JavaScript automation tools, at www.pdfscripting.com.

Now here's the bad news, you cannot create a button that runs a batch sequence. This is not allowed:(

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.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