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?

Related Products at PDF Store

Nitro PDF Professional

Nitro PDF Professional, your PDF creation and editing product. Priced at $99.99, Nitro PDF Pro is th... View full product details
Download free demo

PDFlib TET

Reliably extract text from any PDF file with this library/component. TET makes available the text co... View full product details
Download free demo

Nitro PDF Professional OCR

Nitro PDF Professional OCR gives you all the features of Nitro Pro, plus the added power of Optical ... View full product details
Download free demo

PDF In-Depth Free Product Trials Ubiquitous PDF

Nitro PDF Professional

the perfect PDF product for business and enterprise, combining an extremely competitive price with a...

Download free demo

XpdfViewer

This ActiveX control (OCX) provides a PDF file viewer component, enabling developers to add PDF viewing...

Download free demo

Ubiquitous PDF: Crochet a Yoshi

Amongst the wonders (and occasional horrors) of Etsy.com we found this Mario-inspired PDF pattern. Feeling nostalgic for the days when Super Mario Bros. was the height of pixellated sophistication? This amigurumi doll is for you so find yourself some yarn and have at it.

September 02, 2010
Search Planet PDF
more searching options...







Download PDF Creator

Download The Best of Planet PDF volume 2
Planet PDF Newsletter
Most Popluar Articles
Features

Collating PDFs using JavaScript

Despite the numerous benefits, there can be potential issues with the conversion of paper documents into electronic archives. When scanning paper pages into PDF, it's possible to end up with the odd- and even-numbered pages in separate PDF files. It can be very time-consuming to collate them manually, but there is an easier way. Sean Stewart explains.

Featured Product

BCL easyPDF SDK

BCL easyPDF SDK is a set of PDF Programming Libraries designed specifically to help Software Developers / Programmers build and deploy enterprise class PDF applications for corporate wide PDF...

Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit