To open the Script Editor
The Script Editor lets you type in single or multi-line scripts in a MEL or Python tab and see the output in the history pane.
The history (top) pane shows the history of commands and their results.
In the input (bottom) pane, type commands and scripts in the MEL or Python tab.
A MEL or Python icon appears on each tab to denote its language, so you can differentiate between MEL and Python tabs without the need to select them.
If you create your own custom tabs, you can add your own icon to the tab instead of using the standard MEL or Python icons. For more information, see the tabLayout command and the tabIcon and tabIconIndex flags.
If you save your script to the shelf, you can do the same for the tab created on the shelf. For more information, see the shelfTabLayout command and the tabIcon and tabIconIndex flags, and Make a shelf button for a script.
To execute the script in the input pane, do one of the following:
Select the input or history pane of the Script Editor (click in the window), then hold the Ctrl key and scroll with your middle-mouse wheel.
The text gets larger or smaller as you scroll.
Do one of the following:
Select the option you want from the Tabs menu.
Right-click a tab and select from the available options.
Right-click either the input or history pane, and select the option you want from the marking menu.
Use hotkeys. See the Tabs section in Script Editor menus and hotkeys.
All commands are highlighted as you enter them in the Script Editor.