creating prototypes programatically

Roman Thilenius's icon

okay, so i´ve created a bunch of v7 prototypes for bpatcher programatically - and now of course they do not load. i am getting "bad magic number".

don´t get me wrong, i really like magic numbers and stuff. but can i please be inaugurated to this sort of magic? things which hide from the user are not so useful.

yeah i know, it is probably on page 1734 in /subdocumentation/weirdexamples/hiddenfiles/ but please support my lazyness.

-110 (most magic number ever, even twice more magic than 55)

Roman Thilenius's icon

i must have misspelled something, it worked later.

nevertheless my questions remains. :)

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

Roman Thilenius's icon

btw what is the "app version" good for anyway.

may i leave that out when i am sure it wont matter?

list {boxes:[{box:{maxclass:bpatcher, viewvisibility:1, offset:[0.0, 0.0], lockeddragscroll:1, clickthrough:0, enablehscroll:0, enablevscroll:0, bgmode:0, border:0, name:110.test.mxb, numinlets:2, numoutlets:1, outlettype:[], patching_rect:[5.0, 26., 390., 90.0], id:obj-21}}], appversion:{major:7, minor:3, revision:4, architecture:x86, modernui:1}, preview_image:[]}