
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
The Actions Panel
|
401
grouped together under the Objects folder. In this book, we distinguish between
statements, classes, and objects in keeping with more traditional programming ter-
minology. For an alphabetical list, use the index at the bottom of the Toolbox or, of
course, this book’s Language Reference.
Editing Modes
The Actions panel has two different modes of operation, Normal Mode and Expert
Mode, which govern how we add code to the Script pane.
Normal Mode
In Normal Mode, the Toolbox is used to build new statements, and the Script pane
is used as a viewer for those statements. To add a new statement to the Script pane in
Normal Mode, we double-click the desired Action or drag an Action from the Tool-
box to the Script pane. To add a statement of arbitrary code, we select the evaluate
Action (under Actions
➝ Miscellaneous Actions) and enter the statement into the
Expression field of the Parameters pane at the top of the Actions panel (the Parame-
ters pane is not shown in Figure 16-1).
After adding a statement to the Script pane, we can customize it via the Parameters
pane at the top of the Actions panel. The layout and contents of the Parameters pane
change to suit the statement selected in the Script pane. Notice that when the
Actions panel is operating in Normal Mode, code