Enabling The Interactive Javascript Console; Trying Out The Javascript Console - Adobe 12001196 - Acrobat - Mac Manual

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

Advertisement

Acrobat JavaScript Editor and Debugger Console
2
Exercise: Working with the JavaScript Console

Enabling the Interactive JavaScript Console

The console window is part of the JavaScript debugger. To enable the console, you must
enable the debugger.
1. In the Preferences dialog, select Enable JavaScript Debugger after Acrobat is
restarted from the JavaScript Debugger options.
2. Select Enable interactive console.
This option enables you to evaluate code that you write in the console window.
3. Select Show console on errors and messages.
In case you make mistakes, the console will display information to help you.
4. Click OK to close the Preferences dialog.
5. Close and restart Acrobat.

Trying out the JavaScript Console

1. Select Advanced > JavaScript > Debugger (Ctrl+j) to open the JavaScript debugger.
2. In the debugger, select Console from the View window.
The console window should appear, as shown in
F
IGURE
28
2.4
Console window in debugger
Figure
2.4.
Acrobat JavaScript Scripting Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents