Forums > MaxMSP

simple preset read write trigger error

Mar 23 2011 | 3:46 pm

can somebody tell me why this
generate this error
preset: importing old preset files not implemented
I am fighting with this for a while

-- Pasted Max Patch, click to expand. --

Mar 23 2011 | 3:52 pm

by the way
does there is a way to save to subdirectory ?
what is the syntax ? write dir/file ?

Mar 23 2011 | 4:27 pm

Strange error indeed.
It seems to work better if you use write toto.maxpresets and read toto.

If you want to save in a subdirectory, you need the full path using Max’ path syntax. Check objects like absolutepath to learn this syntax and combine to construct them.

Don’t forget to use tosymbol when manipulating symbols which can contain spaces (like a path or a file name), or will have some bad surprises.

Good luck!


Mar 23 2011 | 4:47 pm

thanks for the subdirectories
but I get the same error with write toto.maxpresets

Mar 23 2011 | 5:05 pm

Does this not work for you?

-- Pasted Max Patch, click to expand. --


Mar 23 2011 | 5:37 pm

it works I went to my problematic patches
it seems naming .maxpresets is the only way
the error message is wrong and the documentation and example incomplete.

all these small glitches cost hours

Thanks Ben

Mar 27 2011 | 10:44 am

you need a file extension but it hasn’t to be .maxpreset

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP