Adobe 27510753 Scripting Guide - Page 52

The ExtendScript Toolkit, Configuring the Toolkit window

Page 52 highlights

44 Using ExtendScript Tools and Features Adobe InDesign CS2 Scripting Guide The ExtendScript Toolkit The ExtendScript Toolkit provides an interactive development and testing environment for ExtendScript in all Adobe Creative Suite 2 applications. It includes a full-featured, syntax-highlighting editor with Unicode capabilities and multiple undo/redo support. The Toolkit allows you to: l Single-step through JavaScripts inside a CS2 application. l Inspect all data for a running script. l Set and execute breakpoints. The Toolkit is the default editor for ExtendScript files, which use the extension .jsx. You can use the Toolkit to edit or debug scripts in JS or JSX files. When you double-click a JSX file in the platform's windowing environment, the script runs in the Toolkit, unless it specifies a particular target application using the #target directive. For more information, see the "Selecting a debugging target" and "Preprocessor directives" sections. Configuring the Toolkit window The ExtendScript Toolkit initially appears with a default arrangement of panes, containing a default configuration of tabs. You can adjust the relative sizes of the panes by dragging the separators up or down, or right or left. You can regroup the tabs. To move a tab, drag the label into another pane. Drag a tab to a new pane Destination pane is highlighted, and the new tab is added to the tab stack If you drag a tab so that the entire destination pane is highlighted, it becomes another stacked tab in that pane. If you drag a tab to the top or bottom of a pane (so that only the top or bottom bar of the destination pane is highlighted), that pane splits to show the tabs in a tiled format.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

44
Using ExtendScript Tools and Features
Adobe InDesign CS2 Scripting Guide
The ExtendScript Toolkit
The ExtendScript Toolkit provides an interactive development and testing environment for ExtendScript in
all Adobe Creative Suite 2 applications. It includes a full-featured, syntax-highlighting editor with Unicode
capabilities and multiple undo/redo support. The Toolkit allows you to:
Single-step through JavaScripts inside a CS2 application.
Inspect all data for a running script.
Set and execute breakpoints.
The Toolkit is the default editor for ExtendScript files, which use the extension
.jsx
. You can use the Toolkit to
edit or debug scripts in JS or JSX files.
When you double-click a JSX file in the platform’s windowing environment, the script runs in the Toolkit,
unless it specifies a particular target application using the
#target
directive. For more information, see the
“Selecting a debugging target” and “Preprocessor directives” sections.
Configuring the Toolkit window
The ExtendScript Toolkit initially appears with a default arrangement of panes, containing a default
configuration of tabs. You can adjust the relative sizes of the panes by dragging the separators up or down, or
right or left. You can regroup the tabs. To move a tab, drag the label into another pane.
Drag a tab to a new pane
Destination pane is highlighted, and the
new tab is added to the tab stack
If you drag a tab so that the entire destination pane is highlighted, it becomes another stacked tab in that
pane. If you drag a tab to the top or bottom of a pane (so that only the top or bottom bar of the destination
pane is highlighted), that pane splits to show the tabs in a tiled format.
l
l
l