Forums > MaxMSP

store path in [preset]


FP
September 6, 2009 | 11:24 pm

Hi,

what is the trick to store a path in the [preset] object ?
thx.

f./


September 7, 2009 | 4:33 am

i think there is only one solution.

coll, text, v, pv, zl all do not work.

but what works for saving and recalling symbols from [preset] is:

*drrrrrrumrolllllll* …


[textedit] !!!

-110

.



FP
September 7, 2009 | 6:57 am

yep. thx. Smile


September 25, 2009 | 4:58 pm
fp wrote on Mon, 07 September 2009 01:24
what is the trick to store a path in the [preset] object ?

As always there is more than one solution in Max. But no drumroll would prevent me from using a pattr.
Its made exactly for that, it can store anything and has a natural connection to pattrstorage which has a natural connection to the preset object…

Stefan


September 25, 2009 | 7:19 pm

the [umenu] works too, just populate it with the file paths you want, then the [preset] grabs whichever index. probably put a [tosymbol] after it to deal with spaces. So the [preset] doesn’t store the symbol, it just references one of the list… the [umenu] does the storing.

I was messing around with the "pattr stores symbol" checkbox in the umenu Inspector, and had a little pattrstorage going with it, but it didn’t work the way I thought… I figured it could remember various lists of paths (or whatever other symbols) in each preset/slot. I guess [textedit] is needed for having multiple lines remembered at once.

you know,

[textedit] !!


September 25, 2009 | 8:24 pm

ceechay has found teh colorz. °•°


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