Snapshot Messages
Arguments
None.
Attributes
autosave [int]
g/s(set)
When the containing patcher is saved, the state of this object's snapshots will also be saved.
Messages
snapshot7.0.0
Arguments
file-name
[symbol]
Create a snapshot. When
is on it will be saved into the current patcher. Otherwise it will be saved in an external file. You can determine the filename by an argument to this message.
restore7.0.0
Arguments
file-name
[symbol]
Restore a snapshot. When
is on, the snapshot that is embedded in the current patcher will be used. Otherwise it will be loaded from an external file. You can determine the filename by an argument to this message.
addsnapshot
Arguments
userpath
[String]
index [Number]
name [String]
index [Number]
name [String]
Add a new snapshot. If there are no arguments, it will append the new snapshot to the current list of snapshots. If the first argument is a string containing a file path, Max will try to save a .maxsnap file to that location. If the first argument is a number, it will save the snapshot to that slot, incrementing subsequent slots. If the second argument is a string, it will set the name of the snapshot.
deletesnapshot
Arguments
index
[Number]
Delete a snapshot at the given index, decrementing subsequent slots.
exportsnapshot
Arguments
index
[Number]
filename [String]
filename [String]
Exports a snapshot from the given index, specified by the first argument. The second argument specifies the file name and path to export a maxsnap file to. If the second argument is empty, a File dialog box will open, allowing you to specify a file name and location.
importsnapshot
Arguments
index
[Number]
filename [String]
filename [String]
Imports a snapshot to the given index, specified by the first argument. The second argument specifies the file name and path to load a maxsnap file from. If the second argument is empty, a File dialog box will open, allowing you to choose a file.
setsnapshotname
Arguments
index
[Number]
name [String]
name [String]
Set the name of the snapshot at the given index.
setembedsnapshot
Arguments
index
[Number]
embedstate [Number]
embedstate [Number]
Set the embed state of the snapshot at the index.
movesnapshot
Arguments
srcindex
[Number]
dstindex [Number]
dstindex [Number]
Change a snapshot's index.