Help with saving user selections in standalone…

Oct 9, 2010 at 9:48pm

Help with saving user selections in standalone…

I have written a patch to be used in standalone mode that has 16 umenu’s in it. What i’m trying to do is make it so when running in standalone, you can save the state of all the umenu’s, and recall the state the next time the patch is opened.

I’m still pretty new to max, so thanks in advance for your help.

#52655
Oct 11, 2010 at 2:50am

Take a look at the preset object and/or the pattr objects. You could build an “autosave” function where a closebang causes the umenu choice to be written to a preset and then a loadbang to select that preset each time.

#189302
Oct 11, 2010 at 2:49pm

Thank you very much. I’ll see if i can figure out how to do that.

#189303
Oct 11, 2010 at 6:52pm

Managed to just use a preset object with write and read. Works great.

#189304
Oct 25, 2010 at 3:50am

I’m looking at doing something very similar, but I would also like to do this with some text entries. (My project uses a patch that can send emails, and it would be nice if the user didn’t have to retype email/password/message stuff) It doesn’t seem like the pattr object will save text, though.

#189305
Oct 25, 2010 at 9:01am

Check out [coll] and [text] if you want to save text to a file, or [pattrstorage] with a [textedit]

#189306

You must be logged in to reply to this topic.