Thanks to the cycling74 forum community my plugin now works!
See the post at the bottom for download link.
Here is the original post:
Here is the bare patch without any of my attempts to make it save, because all of them have made the program freeze..
The only thing I have found to do that works is to have a save as dialog box for a text file and reload it every time you load the project.. and that's way inconvenient.
I tried pattr, and since the patch works continuously it tries to write undo data every single millisecond and the program freezes. I tried dumping the data into a [coll] object and having that object automatically save a file, and that worked at first, but very quickly started causing a "serious program error" and a program crash.
I don't know what else to try. Can anyone help?