Debugger Scripts Window; Accessing Scripts In The Scripts Window; Scripts Inside Pdf Files - Adobe 12001196 - Acrobat - Mac Manual

Javascript
Hide thumbs Also See for 12001196 - Acrobat - Mac:
Table of Contents

Advertisement

Acrobat JavaScript Debugger
3

Debugger Scripts Window

Debugger Scripts Window
Scripts are automatically collected from a PDF file open in Acrobat when you open the
debugger dialog. The debugger displays these in the Scripts window.
example.
F
IGURE

Accessing Scripts in the Scripts Window

To access scripts you want to display, you click the triangle next to an entry in the Scripts
window to open the next level down. Continue to click triangles to open the next lower
level. Use the scroll bar, if necessary, to view the contents in the window as you open lower
levels. A script icon indicates that a script is defined for an action or function. In
function is defined for a mouse-up action on a button-type form named Button1. Clicking
on the script icon opens the debugger at the location of the first script statement.
Acrobat JavaScripts can be stored in several places, either inside or outside PDF files. Scripts
that live inside a PDF file are associated with an action of type JavaScript. The following
sections contain lists of possible locations for scripts, inside or outside a PDF file. These
scripts are immediately available for viewing and debugging in with the Acrobat JavaScript
Debugger

Scripts Inside PDF Files

Table 3.3
view and debug these scripts anytime that you open the debugger dialog. You can edit
these scripts from inside the debugger and you can set breakpoints as described in
Breakpoints on page
you cannot make changes to a running script.
T
ABLE
Location
Document level
40
3.5
Scripts window
lists the PDF-file script types that can be displayed in the Scripts window. You can
44. Changes to scripts do not take effect until the scripts are re-run;
3.3
Scripts inside PDF files
Access
Advanced > JavaScript > Document JavaScripts
Figure 3.5
shows an
Figure
3.5, a
Acrobat JavaScript Scripting Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents