9

New Script 781
Run S cript (page 3–781)
MAXScript Listener (page 3–781)
Macro Recorder (page 3–782)
Visual MAXScript Editor (page 3–783)
MAXScript Debugger Dialog (page 3–783)
In addition, the status bar (page 3–698) contains
a MAXScript Mini Listener (page 3–699),and
MAXScript functionality is also available from the
Utilities panel (page 3–778).
For detailed information about MAXScript, open
theMAXScriptReference,availablefromHelp
menu > MAXScript Reference.
New S cr ipt
MAXScript menu > New Script
Utilities panel > Clic k M AXScript. > MAXScript rollout >
New Script
NewScriptopensanewMAXScriptEditor
window. Use this window for wr iting a new script.
For detailed information about the MAXScript
utility, open the MAXScr ipt Reference,available
from Help menu > MAXScript Reference.
Open S cr i pt
MAXScript menu > Open Script
Utilities panel > Clic k M AXScript. > MAXScript rollout >
Open Script
Open Script opens a common file open dialog for
choosing an existing script. A new MAXScript
Editor window then displays the selected script.
For detailed information about the MAXScript
utility, open the MAXScr ipt Reference,available
from Help menu > MAXScript Reference.
Run Script
MAXScript menu > Run Script
Utilities panel > Clic k M AXScript. > MAXScript rollout >
Run Script
RunScriptopensacommonfileopendialogfor
choosing an existing s c ript. MAXScript then reads
and executes the selected script. Any output is
printed to the Listener window.
For detailed information about the MAXScript
utility, open the MAXScript Reference,available
from Help menu > MAXScript Reference.
MAXScript Listener
MAXScript menu > MAXScript Listener
Mini Listener > Right-click menu > Open Listener W indow
Utilities panel > Clic k M AXScript. > MAXScript rollout >
Open Listener
Keyboard > F11
The MA X Script Listener w indow is an interactive
interpreter for the MAXScript language and works
similar to a DOS command prompt window. You
enter MAXScript commands in this window,
and when you press
Enter they are executed
immediately.
TheListenerwindowisappropriateforperforming
interactive work and developing small code
fragments. Each command you execute in the
Listener is actually an expression with a result
that the Listener prints out after each execution.
You can enter any MAXScr ipt expression or
sub-expression in the Listener for evaluation, and
the Listener prints out its result.
The Listener is divided into two panes. The top
(pink) pane is the Macro Recorder pane, and the
bottom(white)paneistheoutputpane.Whenthe