Saves the workspace, saves and closes all open files.
This command saves the workspace, and saves, then closes all open documents. This command is equivalent to the Save Workspace command followed by the Save and Close All command.
editor.ExecuteCommandByID(4331);
editor.ExecuteCommandByID 4331
Send feedback on this topic to Emurasoft