<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="_c74_vig.xsl" type="text/xsl"?>
<vignette name="Snippets" package="Max" rankfactor="4">
  <h1>
	Snippets
	</h1>
  <p>
	A <i>snippet</i> is a patcher file that contains something you use often and
	don't want to have to constantly re-create as you work. Max includes a collection
	of snippets, and you can easily add your own.
	</p>
  <bluebox>
    <h2>
	Creating a snippet in the patcher window
	</h2>
    <ul>
      <li>
		Click and drag to select the Max objects you want to include
		in your snippet. When you make the selection, the Snippet button in
		<link type="vignette" module="core" name="bottom_patcher_toolbar">the bottom patcher toolbar</link>
		will be ungreyed. Click on the snippet button.
		</li>
    </ul>
    <p>
      <img src="images/snippetbutton.png"/>
    </p>
    <ul>
      <li>
		A snippet dialog box will appear. Type the name of your snipped into the box
		and hit the return key. Your snippet will be saved.
		</li>
    </ul>
    <p>
      <img src="images/snippetdialog.png"/>
    </p>
  </bluebox>
  <br/>
  <space/>
  <bluebox>
    <h2>
	Saving a patcher file as a snippet
	</h2>
    <ul>
      <li>
		Create a patcher you want to use as a snippet.
		</li>
      <li>
		Choose <b>Save As...</b> from the File menu and save the patch to the <i>~Documents/Max 7/Snippetsi</i> folder.
		</li>
      <li>
		The snippet you have created will be added to the <b>Paste From</b> menu.
		</li>
    </ul>
  </bluebox>
  <br/>
  <space/>
  <bluebox>
    <h2>
		Patching from the Snippets toolbar browser
	</h2>
    <ul>
      <li>
			Click on a filename or a preview box for any snippet in the
			<link type="vignette" module="core" name="snippets_toolbar_browser">Snippets toolbar browser</link>
			to select it and drag the selected
			snippet into the unlocked patcher window. The snippet's contents will be copied into the
			patcher window.
		</li>
    </ul>
    <p>
		Note: You can also hold down the option key and click and drag files into a locked patcher window.
 	</p>
  </bluebox>
  <br/>
  <space/>
  <bluebox>
    <h2>
	Adding a snippet using the patcher contextual menu
	</h2>
    <ul>
      <li>
		Control-click (Mac) or right-click (Windows) in blank space in
		an open Patcher window to show the patcher contextual menu.
		Choose the snippet you want from the <b>Paste From</b> submenu.
		The snippet will be pasted into your patcher window, ready to
		use or edit.
		</li>
    </ul>
    <p>
      <img src="images/menusnippets.png"/>
    </p>
  </bluebox>
</vignette>
