A newer version of Max is available. Click here to access the latest version of this document.

Templates

You can create and use templates in Max. A template is a Max patcher document that includes a patch intended to get you started with preferences for the look of your Max patching environment and for creating certain types of applications you use often. Templates are generally larger and more complex than a snippet, and they open in their own untitled Patcher Window of a preconfigured size rather than being pasted into an unlocked patcher window as a clipping is.


Using a template

  • Choose File > New From Template>. A list of any templates you may have appears on the menu. Choose a template from the list and it will open in a new untitled Patcher window


Creating a template

The easiest way to create a template that contains instructions about default fonts and colors for the patcher window and max objects and user interface objects is to use the Format palette to apply patcher-level formatting to a new patcher document.

  • To create a template from a Max patcher, choose File > Create Template.... from the file menu. A dialog box will appear that contains the name of a Max template file (the default filename will be based on the filename of the currently open Max patch).

When you Click on Save, the new template will be created and will appear in the listing of templates in your File menu.

The Default Template

You can choose a template and set it to be the default template for your Max patching environment. From then on, any new patcher window you have the look and settings associated with the original template.

Note: Setting a new default template does not alter or exclude any styles you have added to your Max patching library.


Creating a Default Template

  • Choose File > New > from the edit menu. After the Patcher, Table and Text choices, a list of any templates you may have appears on the New menu. Choose a template from the list and it will open in a new untitled Patcher window (You can also create a patcher file you would normally save as a template).
  • Choose File > Create Template.... from the file menu. A dialog box will appear that contains the name of a Max template file.
  • Click in the Default for New Patchers checkbox.

When you Click on Save, the template will become your default patcher. Its settings will be used each time you launch Max or create a new patcher window from now on.