Scripting
Everything you do in Maya can be seen as commands in Script
Editor. Open Script Editor by
going to Windows -> General Editors -> Script Editor... Script Editor's top pane
shows
the history of commands and results. Copy
the
commands
you
want to repeat or to create a script from the upper pane to the bottom pane by
using Ctrl+C and Ctrl+V. To execute the commands in the bottom pane, press the
Enter key or select Script -> Execute. To save the script, select the text you
want to save and go
to
File
->
Selected.