help with storing text with pattr

iisak's icon

Hi!
I'm very new to the pattr object. I have a hard time getting it to do what I try.
I want to store settings in my patch that a standalone user needs to be able to edit. This are ip-addresses, audio channels, midi device names and so forth. so having a separate xml file that you can edit should be perfect, right?
Any help to point me in the right direction is greatly appreciated. I seem to only be able to store numbers? Also it's hard to understad the relationship of pattrhub, autopattr and pattrstorage. How do i make pattrstorage see my objects with scripting names?

Thanks for the help. Here is a simple snip with the things I'm trying to do. I hope im doing this "paste" thing the right way!

Max Patch
Copy patch and select New From Clipboard in Max.

KrisW's icon

Hi Iisak !

ive got some thoughts .
I would use JSON instead of XML . first of all ,you can easily create such data/file with DICT object . Where u can and you should format your data in such style .
Then you can easily PATTRize you DICT , its very very helpful for many data soulutions . just take a look at the help file .

iisak's icon

thanks KRISW! This got me forward. I'm then using zl nth to get to the values.
What do you mean by PATTRizing my DICT?

KrisW's icon

great !
with PATTRizing i mean , you can use pattr family to store your DICT data :) sorry