10
Modifying the User Interface
Using Adobe Dialog Manager (ADM) in Acrobat JavaScript
Using Adobe Dialog Manager (ADM) in Acrobat JavaScript
Introduction
The Adobe Dialog Manager (ADM) is a cross-platform API for implementing dialog-based
user interfaces in a uniform way for Adobe applications such as Acrobat, Photoshop,
Illustrator, and After Effects. Acrobat JavaScript provides a convenient interface to ADM
through which you may implement modal dialogs containing list objects and other
controls normally included in graphical user interfaces, including buttons, text, text boxes,
check boxes, radio buttons, progress bars, scroll bars, and sliders. These are summarized
below in
Table 10.1.
T
ABLE
10.1
ADM Dialog Elements
Element Type
Description
push button
check box
radio button
list box
hierarchical list box
static text box
editable text box
popup control
OK button
OK and Cancel button
OK, Cancel, and Other button
container for a set of controls
frame for a set of controls
place holder
button
check_box
radio
list_box
hier_list_box
static_text
edit_text
popup
ok
ok_cancel
ok_cancel_other
view
cluster
gap
160
Acrobat JavaScript Scripting Guide