Tips & Tricks

Evaluating JavaScript using Acrobat's console

January 22, 2009

Advertisement
Advertisement
 

If you have incorporated JavaScript into your PDF documents, chances are that you'd like to make sure that it's valid before you post the PDF to your website. The good news is that Acrobat has a handy JavaScript console that allows you to do just that.

In order to test your JavaScript using Acrobat's console:

  1. Open Acrobat.
  2. Select Advanced > JavaScript > Debugger, or hit 'Control+J' on your keyboard.
  3. Once you've typed your JavaScript code into the console, highlight the line/s of code you want to run and press 'Enter' only, to execute.

You're done! Simple, huh?

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Quick PDF Library

Get products to market faster with this amazing PDF developer SDK. Over 900 functions and an equally...

Download free demo

PDF Master Series III: Eugene Y. Xiong talks with Planet PDF

Planet PDF talks with another Master of the PDF Universe, Eugene Y. Xiong, Founder and Chairman of the Board at Foxit Software Inc. in Fremont California. Xiong is a quiet yet astounding achiever, you (usually) won't find him talking at conferences, exhibits, or publishings, but what you will find is the result of his leadership in places you would never expect.

September 14, 2016
Platinum Sponsor



Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist 12

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.