Store and recall the settings of other objects
bang | Sends out the settings of the preset that was most recently recalled with an | or a mouse click.|
int | preset-number [int] |
The number indicates a preset, and the settings stored in that preset are sent out to the connected objects, or to all objects in the window if no patch cords are connected to the preset object's outlet. The settings in a preset can also be sent out by clicking on the preset with the mouse. |
float | preset-number [float] |
Converted to | .
list | Same as | .|
clear | preset-number [int] |
Erases the contents of the most recently sent preset. The word | , followed by a number, erases the contents of that numbered preset.
clearall | Erases the contents of all presets. | |
(mouse) | Clicking on a button in the preset object will recall a stored preset. Shift-clicking on a button in the preset object will store a preset. |
|
name | ID-filetag [symbol] |
The word | , followed by a symbol, sets the ID Name for the preset. The ID Name allows the preset to have a unique ID so that files created for it will not read into other presets.
store | preset-number [int] |
The word preset object's left outlet with patch cords, only those connected objects will be affected. The presets (storage locations in the preset object) are numbered left-to-right, top-to-bottom. When settings are stored in a preset, the dot's color changes to indicate that it contains something. Settings can also be stored in a preset by holding down the Shift key and clicking on the preset with the mouse. |
, followed by a number, stores the current setting of all user interface objects in the same window in the preset indicated by the number. If objects are connected to the
read | preset-number [int] |
The word | , followed by no arguments or a number, displays an Open Document dialog box for choosing a file of preset data to read. If the preset has been given a Preset Name Code, only files of the type specified by the code will be displayed. The number argument specifies the preset number into which the file data should be read. If the number is 0 or -1, the data in the file will be read into the number of presets contained in the file starting with the first one. If the word is followed by a symbol or a number and a symbol, no dialog box is displayed. Instead, the symbol is taken as a filename from which to read presets. The number functions as already described.
write | preset-number [int] |
The word | , followed by no arguments or a number, displays a Save As dialog box for specifying a destination filename for writing the preset data. If the preset has been given a Preset Name Code, the file is given this code as its file type. The number argument specifies the preset number from which the preset data should be written. If the number is 0 or -1, all presets will be written. If the word is followed by a symbol or a number and a symbol, no dialog box is displayed. Instead, the symbol is taken as a filename to use for writing the data; the file will be placed in the current default folder. The number functions as already described.
Name | Type | g/s | Description |
---|---|---|---|
active1 | float | Sets the first (upper) gradient color for active presets in RGBA format. | |
active2 | float | Sets the second (lower) gradient color for active presets in RGBA format. | |
bgcolor | float | Sets the background color in RGBA format. | |
bordercolor | float | Sets the border color in RGBA format. | |
bubblesize | int def.:9 |
Sets the size of the preset "bubble", in pixels. A bubble must be larger than 2 pixels. | |
circlecolor | float | Sets the color used for the circle displayed when the mouse is over a preset button in RGBA format. | |
clicked1 | float | Sets the first (upper) gradient color for clicked presets in RGBA format. | |
clicked2 | float | Sets the second (lower) gradient color for clicked presets in RGBA format. | |
embed | int def.:1 |
Toggles the ability to save your presets as part of the main patch (just as with a The default behavior is 0 (don't save). | |
emptycolor | float | Sets the color for empty preset locations in RGBA format. | |
margin | int def.:3 |
Sets the edge spacing in pixels, for the preset object's panel | |
pattrstorage | symbol | the pattrstorage object and sets the preset object to allow its use as a user interface object for the named pattrstorage object's contents. | attribute takes as its argument the name of a|
showtrack | int def.:1 |
Toggles the display of preset numbers on mouse-over. The default setting is 1 (on). | |
spacing | int def.:3 |
Sets the spacing, in pixels, between bubbles | |
stored1 | float | Sets the first (upper) gradient color for stored presets in RGBA format. | |
stored2 | float | Sets the second (lower) gradient color for stored presets in RGBA format. | |
textcolor | float | Sets the color of the text (number) displayed on mouseover in RGBA format. |
Name | Description |
---|---|
grab | Intercept the output of another object |
Max pattr Tutorial 1: Patcher Storage | Max pattr Tutorial 1: Patcher Storage |