App object

A static object that represents the PDF viewer application.

Contains methods and properties for interfacing with the application as well as some for working with active documents.

 

Example: Gets the number of documents open and displays it in an alert message.

 

var nDocs = app.activeDocs.length;

app.alert(“You have ” + nDocs + ” documents open.”);

 

Properties

activeDocs

formsVersion

platform

viewerType

viewerVersion

 

Methods

alert

browseForDoc

goBack

goForward

launchURL

mailMsg

newDoc

openDoc

response

App object