9

784 Chapter 21: User Interface
launch script. It is a lso possible to install scripts
into individual scene files that run automatically
when that scene is open or closed or at certain
other events.
Note: Command line -U MAXScript startup scripts
are run after 3dsMaxhascompletelybootedand
the standard scripts and startup scripts have been
run.
MAXScr ipt Comma nd-Line Switches
The following switches work specifically with
MAXScript files and funct ions.
Switch Effect
-mip
Starts 3ds Max in a minimized mode but
never allows you to open the window for
interactive usage.
-mxs
This switch is es sentially the same as -U
MAXScript file.ms, but avoids the need for
the .ms file. You can follow the switch with
MAXScript commands.
-silent Comparable to the MAXScript command,
setSilentMode, this switch suppresses all
MAXScript and 3ds Max UI dialogs so that
batch scripts specified by the –U command
do not get interrupted.
-u MAXScript
<filename>
Opens a specified MAXS c r ip t file.
Examples of desired syntax usage:
See the online User Reference to view these code
samples