In addition to controlling modeling and animation, MAXScript scripts can invoke 3ds Max menu and toolbar commands. You do this using the "max" keyword.
max file open
max unhide all
max quick render
The keyword max is followed by one or more words that describe the command. The available commands can be displayed by using the "?" character in a partial max command.
max time ? -- shows all the time-related commands
max sel ? -- shows all the commands with ‘sel’ in them as a substring
max ? -- shows all the commands (there are a lot)
For a complete list of max commands, see the MAX Commands topic.
Saving your Commands in a Script File