Click the tag bar, to the left of the status and prompt lines, and drag it to the right to display the MAXScript Mini Listener.
The MAXScript Mini Listener is a single-line view of the contents of the MAXScript Listener window.
The MAXScript Listener window is divided into two panes: one pink, and one white. The pink pane is the MacroRecorder pane. When the MacroRecorder is enabled, everything that is recorded is displayed in the pink pane. The pink line in the Mini Listener shows the latest entry into the MacroRecorder pane.
The white pane is the Scripter window where you can create scripts. The last line you type in the white area of the Listener will appear in the white are of the Mini Listener. Use the arrow keys to scroll the display in the Mini Listener.
You can type directly into the white area of the Mini Listener, and the command executes in the viewports.
Right-click either of the Mini Listener lines to open the floating MAXScript Listener window. It will also display a list of the last 20 commands recorded. You can choose any of these commands and press ENTER to execute them.
For more information about the MAXScript Listener window, as well as about creating scripts, see the MAXScript Reference: choose Help > MAXScript Reference.
Example: To redo a command using the Mini Listener:
Click the tag bar at the left side of the status bar, and drag it to the right to expand the Mini Listener.
Right-click the Mini Listener and choose Open Listener Window.
From the MacroRecorder menu, choose Enable.
Using the command panel, create a sphere in the perspective viewport.
Convert the sphere to an Editable Mesh.
Delete the sphere.
Make a box.
Right-click the Mini Listener window. Choose macros.run "Modifier Stack" "Convert_to_Mesh" from the list and press ENTER. The box has been collapsed to an editable mesh.
Example: To make a script and add it to a toolbar:
For this very simple example, you’ll make a script that collapses an object to an editable mesh, and then create a toolbar icon to run the script.
Right-click the Mini Listener, and choose Open Listener Window.
From the MacroRecorder menu, choose Enable. Close the listener window.
Right-click the Main toolbar and turn on the tab panel.
Click the Modeling tab in the tab panel.
Create a box in the Perspective viewport.
Collapse the box.
In the Mini Listener, click and highlight macros.run "Modifier Stack" "Convert_to_Mesh".
Drag the highlighted script from the Mini Listener to the Modeling tab in the tab panel.

MacroRecorder Line—The pink upper line displays the last thing recorded by the MacroRecorder. If the MacroRecorder is not enabled, nothing will appear in this line.
Scripter Line—The white lower line displays the last entry typed into the Scripter window. You can type directly into this line and execute the commands in the viewports
History List—Right-clicking either of the Mini Listener lines displays a history of the last twenty commands recorded by the Macro Recorder (provided it has been enabled). Click any of these commands to execute them in the viewports.
Open Listener Window—Right-clicking either of the Mini Listener lines displays a dialog that allows you to open the MAXScript Listener window. You can also open the Listener using the Utilities panel > MAXScript rollout. You can display the Listener window in a viewport by right-clicking the viewport label, then choosing Views > Extended > MAXScript Listener.
Web Designer - offers freelance web design services, redesign, graphic design, content
management, web development and e-commerce.
LTD