Sign In
Upload
Manuals
Brands
Adobe Manuals
Software
Acrobat 6.0
Adobe Acrobat 6.0 Manuals
Manuals and User Guides for Adobe Acrobat 6.0. We have
1
Adobe Acrobat 6.0 manual available for free PDF download: Manual
Adobe Acrobat 6.0 Manual (90 pages)
JavaScript
Brand:
Adobe
| Category:
Software
| Size: 1 MB
Table of Contents
Table of Contents
3
Preface
7
Chapter Preface
7
Introduction
7
Audience
7
Purpose and Scope
7
Assumptions
8
Organization
8
How to Use this Guide
8
Font Conventions Used in this Book
9
For more Information
10
Chapter 1 Introduction to Acrobat Javascript
11
Introduction
11
Chapter Goals
11
Contents
11
Overview
11
What Is Acrobat Javascript
12
What Can You Do with Acrobat Javascript
13
Acrobat Javascript Object Overview
15
The App Object
15
The Doc Object
15
Other Common Acrobat Javascript Objects
16
Database Objects
17
Javascript Language Caveats
17
Chapter 2 Acrobat Javascript Editor and Debugger Console
19
Introduction to the Javascript Editor and Debugger Console
19
Chapter Goals
19
Contents
19
Javascript Console
20
Opening the Javascript Console
20
Executing Javascript
20
Formatting Code
20
Using a Javascript Editor
21
Specifying the Default Javascript Editor
23
Using the Built-In Acrobat Javascript Editor
24
Using an External Editor
24
Additional Editor Capabilities
24
Specifying Additional Capabilities to Your Editor
25
Testing Whether Your Editor Supports Opening at Syntax Error Locations
26
Exercise: Working with the Javascript Console
27
Enabling Javascript
27
Enabling the Interactive Javascript Console
28
Trying out the Javascript Console
28
Chapter 3 Acrobat Javascript Debugger
33
Introduction to the Acrobat Javascript Debugger
33
Chapter Goals
33
Contents
33
Enabling the Acrobat Javascript Debugger
34
Debugger Dialog Window
36
Main Groups of Controls
36
Debugger View Windows
36
Debugger Buttons
37
Resume Execution
38
Interrupt
38
Quit
39
Step over
39
Step into
39
Step out
39
Debugger Scripts Window
40
Accessing Scripts in the Scripts Window
40
Scripts Inside PDF Files
40
Scripts Outside PDF Files
41
Call Stack List
41
Inspect Details Window
42
Details Window Controls
42
Inspecting Variables
43
Watches
44
Breakpoints
44
Starting the Debugger
46
Debugging from the Start of Execution
46
Debugging from an Arbitrary Point in the Script
46
Stepping through Your Code
47
Exercise: Calculator
47
Calculator
48
Getting Started
49
Debugging a Runtime Error
50
Another Runtime Error
51
Known Issues
52
Summary
53
Chapter 4 Using Acrobat Javascript in Forms
55
Creating Simple Javascripts
55
Creating an Automatic Date Field
55
Performing Arithmetic Calculations
56
Assigning a 'Go to Page' Action
57
Sending a Document or Form Via E-Mail
58
Hiding a Field until a Condition Is Met
59
Working with Javascript Actions
60
Working with Document Level Javascript Actions
61
Creating Form Fields Programmatically
62
Button
64
Check Box
66
Combo Box
67
List Box
70
Radio Button
71
Signature
72
Text
73
Appendix A a Short Acrobat Javascript FAQ
75
Where Can Javascripts be Found and How Are They Used
75
Folder Level Javascripts
75
Document Level
75
Field Level
76
How Should I Name My Form Fields
76
How Do I Use Date Objects
77
Converting from a Date to a String
77
Converting from a String to a Date
79
Date Arithmetic
79
How Can I Make My Document Secure
81
Restricting Access to the Document
81
Restricting Permissions
81
Digital Signatures
81
How Can I Make Restricted Acrobat Javascript Methods Available to Users
82
How Can I Lock a Document after a Signature Field Has Been Signed
82
How Can I Make My Documents Accessible
83
Document Metadata
83
Short Description
84
Setting Tab Order
84
Reading Order
84
How Can I Define Globals in Javascript
84
Making Globals Persistent
85
How Can I Send Form Data to an E-Mail Address
85
How Can I Hide a Field Based on the Value of Another
85
How Can I Query a Field Value in Another Open Form from the Form I'M Working on
85
How Can I Intercept Keystrokes One by One as They Occur
86
How Can I Build a Nested Popup Menu
86
How Can I Construct My Own Colors
86
How Can I Prompt the User for a Response in a Dialog
87
How Can I Fetch an URL from Javascript
87
How Can I Change the Hot-Help Text for a Field Dynamically
87
How Can I Change the Zoom Factor Programmatically
87
How Can I Determine if the Mouse Has Entered/Left a Certain Area
88
Advertisement
Advertisement
Related Products
Adobe ACROBAT READER HELP
ADOBE ACROBAT FORMS JAVASCRIPT OBJECT
Adobe ACROBAT 9 Standard
Adobe ACROBAT 9 Professional
Adobe Acrobat SDK
Adobe Acrobat 3.0
Adobe Acrobat Forms JavaScript Object Specification
Adobe Acrobat 8 Standard
Adobe Acrobat X Professional
Adobe Adobe Acrobat 5.0
Adobe Categories
Software
Freezer
Plumbing Product
More Adobe Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL