Tutorials, tools, scripts and samples for scripting Acrobat and PDF
Home | Video Tutorials | Copy-n-Paste Scripts | Download Library | Free Content | Search | MEMBERS AREA
Become a member and get immediate access to Acrobat JavaScript training videos, sample PDFs with scripts, copy-n-paste script library and Acrobat automation tools.Click here for details.


Already a Member?
 About this Site
 About Us
 Contact Us
 Privacy Policy
 Refund Policy
 Terms of Use
 DEPARTMENTS
 Video Tutorials
 Copy-n-Paste Scripts
 Download Library
 Free Content
 Free Videos
 Most Popular
 RESOURCES

Let me know when new content is available.

Home | Free Content | Free Video Content & Full Listing of . . .
 

Free Video Content & Full Listing of Available Videos

Printer-Friendly Format

What You Need to Know to Use JavaScript in Acrobat and PDF

Acrobat JavaScript is really two different things- the Core JavaScript Language and a set of objects that connect Core JavaScript to Acrobat. This is an important point and every JavaScript programmer should understand the difference. However, to use Acrobat JavaScript it is not necessary to be a Core JavaScript expert; a reasonable familiarity with JavaScript and some basic programming concepts are all that's required. The really important stuff to know and understand is the Acrobat Scripting environment, the object structure, and how to use the Acrobat scripting objects (called the DOM for Document Object Model).

NOTE: Free videos have active links; video titles without active links are only available in the Members Area of this site.

Introduction to Scripting in Acrobat

How do you even get started using JavaScript in Acrobat? There are always a few little things you have to understand before starting any activity and Acrobat JavaScript is no different. What menu items and toolbar buttons are for JavaScript? What do they do? How does it all work?

This set of videos will ease you into the world of Acrobat JavaScript so you can say, "I get it!!"

  •   Basic Concepts
    •     What's JavaScript (4:41, 5.8 MB)
    •     JavaScript in Acrobat and PDF (6:20, 5.5 MB)
    •     Setting Up for Developing Scripts in Acrobat (7:22, 6.2 MB)
    •     The Acrobat JavaScript Console (Your New Best Friend) (8:10, 5.0 MB)
    •     Understanding the Document Object Model (11:02, 8.2 MB)
    •     Using the Acrobat JavaScript API Reference (18:48, 15.3 MB)
  •     Where do the Scripts Go?
    •     Finding Scripts in Acrobat (14:45, 13.3 MB)
    •     Finding Scripts in PDFs (15:45, 17.2 MB)
    •     Finding Scripts in Form Fields (17:25, 13.3 MB)
      •     Example: Looking at a Real Form (18:49, 14.4 MB)
      •     Sample File: Finding Scripts on a Form

Form Scripting:

Form Scripting is probably the most common and familiar use of Acrobat JavaScript. Within a form, JavaScript is used to provide basic form functionality like calculations, and to implement interactive features like showing and hiding parts of the form. But JavaScript is not just for forms; it can be used in many different types of PDF documents for navigation, controlling multimedia, and many other kinds of specialized interactive features.
  •   Form Scripting Basics
  •   JavaScript Events, or How to Enter Scripts
    •     Introduction to Document Events (12:49, 8.5 MB)
    •     The Event Object (4:03, 3.7 MB)
    •     Order of Event Execution (19:15, 17.4 MB)
      •     Event Order Test Example
    •     Entering Field Widget (mouse and focus) Events (14:49, 15.0 MB)
      •     Widget Script Examples
    •     Entering Calculation Scripts (9:21, 7.6 MB)
      •     Example: Calculations in an Order Form (13:52, 15.5 MB)
      •     Order Form Example File
    •     Entering Validation Scripts (7:19, 4.9 MB)
      •     Example: Basic and Alternate Uses of Validation Scripts (12:12, 14.5 MB)
      •     Example File: Validation Event Scripts
    •     Entering Format Scripts (13:39, 9.7 MB)
      •     Format Script Examples
    •   Entering KeyStroke Scripts
      •     Part 1: The Proper KeyStroke Script (16:52, 16.0 MB)
        •     Example: Basic and Alternate Uses of Proper keystroke Scripts (14:13, 15.3 MB)
        •     Proper Keystroke Example PDF

Core JavaScript Language Basics

These videos provide lite coverage of the Core JavaScript Language. Just enough to get you going. Each topic is independent and while each relies to a certain extent on information presented in the others, they do not need to be viewed in order.
  •   Basic Concepts
    •  Language Basics (10:38, 7.38 MB)
    •  Control Flow (19:24, 14.8 MB)
    •  Strings (24:56, 22.4 MB)
    •  Arrays (17:35, 15.1 MB)
    •  Objects (19:30, 15.8 MB)
    •  Functions (9:13, 15.8 MB)
      •  Example: Using a Function in a PDF (14:19, 13.9 MB)
      •  Sample Files: Code re-use examples