pattrstorage autorestore outside max's searchpath ?

Apr 12, 2012 at 12:37pm

pattrstorage autorestore outside max's searchpath ?

Hi. I’m using a pattrstorage object (with @autorestore set to 1) so that it can load the last used preset file, but I’ve noticed that this will only work if the preset file is saved in max’s search path. Is there a way around this ?
(thanks in advance)

here’s an example patch:

– Pasted Max Patch, click to expand. –

Max 6.0.4 (OSX 10.6.8)

Apr 15, 2012 at 11:54am

One workaround is using [filepath] to save the folder’s path, inside which you save your preset, inside Max preferences paths.

Apr 15, 2012 at 9:57pm

I was avoiding max’s search path so that I wouldn’t have problems with different files with the same name. But I ended up by adding my folder path to max’s search path temporarily, removing it when my patcher is loaded…

Thanks again

Apr 16, 2012 at 9:31am

ah, i understand. you could remove the file from the search path with [closebang] if it helps.

Apr 16, 2012 at 11:43am

You can use the new Project feature in Max 6 and add a project-local searchpath for that file.

Apr 16, 2012 at 4:24pm

Thanks….I didn’t notice that feature… Is there any documentation available?


You must be logged in to reply to this topic.