The multiple MAXScript Editor windows used in 3ds Max 2 to 9 have been replaced with a single tabbed editor in 3ds Max 2008. It is based on the Scintilla control and the SciTE editor and supports a large number of advanced features not available in the previous implementation.
The MAXScript Listener and its MacroRecorder pane, the Mini-Listeners in the bottom left corner of the GUI and the script editor windows are all now using the Scintilla control.
The undo depth for both the Listener and the Editor is now 500.
The documentation of the new Tabbed Editor Window is available here:
MAXScript Tabbed Editor Window
The legacy Editor Windows are still used in several areas of 3ds Max like the Particle Flow Scripted Operators. The original documentation of the legacy Editor Windows is available under
The MAXScript Legacy Editor Windows
MAXScript Legacy Editor Commands
Related MAXScript Methods
showSource <fn>
If you need to locate the source of a scripted function, you can use the showSource()
method. It displays a MAXScript Editor window containing the source file in which the function was defined, positioned at the function's definition.
editorShowPath
The new system global variable editorShowPath
introduced in 3ds Max 9 controls whether the MAXScript Editor will display the full path of the edited script (true, default in 3ds Max 9), or only the file name (false, the only mode prior to 3ds Max 9) in the title bar. Changing the value will update the open MAXScript editor windows.
In 3ds Max 9 and higher, when doing an Open or Save As from an editor window, and there is a filename associated with the editor window, the file open/save dialog will open to the filename's path. When doing an Open, Save, or Save As from an editor window without a filename, or from Listener or the main max window, the last directory specified in a MAXScript script file open/save dialog will be used (unless the user canceled out of the dialog).