jit.cellblock save to file?

Aug 11, 2008 at 7:33am

jit.cellblock save to file?

Hiya!
Dear Jitterlist!

Some time ago in Max4.6 I have use [jit.cellblock] to automate store and save formatted text data, and yesturday I found this patch, but in Max5 works not all(
What is important – save in any format, but command “save” more not avaible. How to be??
And what is also strange – when I click right mouse button on my cellblock in Max window appears message “sysmenu_processitemtext: error 57052104 from SetMenuItemInfo”!!! What is this?
What change is in new version, and how to correct use [jit.cellblock] now??

Many thanks for your time!
Serg, SPb, Russia

p.s. that is my glitch cellblock! try to click right button!!

{
“boxes” : [ {
"box" : {
"maxclass" : "jit.cellblock",
"varname" : "jit.cellblock",
"cols" : 7,
"headercolor" : [ 0.743191, 0.743191, 0.743191, 1.0 ],
“fontsize” : 10.0,
“rows” : 21,
“colwidth” : 45,
“patching_rect” : [ 19.0, 18.0, 734.0, 359.0 ],
“hscroll” : 0,
“savemode” : 1,
“numinlets” : 2,
“numoutlets” : 4,
“fontname” : “Arial”,
“gridlinecolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“vscroll” : 0,
“outlettype” : [ "list", "", "", "" ],
“rowheight” : 17,
“bgcolor” : [ 0.992218, 0.992218, 0.992218, 1.0 ],
“hcellcolor” : [ 0.836576, 0.836576, 0.933852, 1.0 ],
“id” : “obj-144″,
“precision” : 4,
“bordercolor” : [ 0.0, 0.0, 0.0, 1.0 ],
“rowdef” : [ [ 0, 0, 1, 0.145098, 0.403922, 0.0, 1, 1.0, 0.0, 0.0, 0, -1, -1 ], [ 4, 17, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, -1, -1, -1 ], [ 1, 0, 1, 0.25098, 0.0, 0.0, 1, 1.0, 0.0, 0.0, 0, -1, -1 ] ],
“coldef” : [ [ 0, 150, 1, 0.156863, 0.403922, 0.0, 1, 1.0, 0.0, 0.0, 0, -1, -1 ], [ 6, 92, 1, 1.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0, 1, -1, -1 ], [ 5, 92, 1, 1.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0, 1, -1, -1 ], [ 4, 54, 1, 1.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0, 1, -1, -1 ], [ 1, 194, 1, 0.156863, 0.403922, 0.0, 1, 1.0, 0.0, 0.0, 0, -1, -1 ], [ 3, 0, 1, 1.0, 1.0, 1.0, 1, 1.0, 1.0, 1.0, 2, -1, -1 ] ],
“celldef” : [ [ 0, 0, 0, 1, 0.239216, 0.403922, 0.0, 0, 0.996094, 0.0, 0.0, 2, -1, -1 ], [ 0, 1, 0, 1, 0.0, 0.0, 0.247059, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 2, 0, 1, 0.0, 0.0, 0.247059, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 3, 0, 1, 0.870588, 0.007843, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 4, 0, 1, 0.082353, 0.031373, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 5, 0, 1, 0.082353, 0.403922, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 6, 0, 1, 0.431373, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 7, 0, 1, 0.25098, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 8, 0, 1, 0.156863, 0.403922, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 9, 0, 1, 0.25098, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 10, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 11, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 12, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 13, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 14, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 15, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 16, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 17, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 18, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 19, 0, 1, 0.0, 0.0, 0.0, 0, 0.996094, 0.996094, 0.996094, 2, -1, -1 ], [ 0, 20, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 2, -1, -1 ], [ 1, 0, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 1, 0, 1, 0.980392, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 2, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 3, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 4, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 5, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 6, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 7, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 8, 0, 1, 0.156863, 0.403922, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 9, 0, 1, 0.0, 0.0, 0.0, 0, 1.0, 1.0, 1.0, 0, -1, -1 ], [ 1, 10, 0, 1, 0.78125, 0.0, 0.0, 1, 0.78125, 0.957031, 0.957031, 0, -1, -1 ], [ 3, 0, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 1, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 2, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 3, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 4, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 5, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 6, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 7, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 8, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 9, 0, 1, 0.0, 0.0, 0.0, 1, 0.0, 0.0, 0.0, 1, -1, -1 ], [ 3, 10, 0, 1, 0.390625, 0.0, 0.0, 1, 0.390625, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 11, 0, 1, 0.78125, 0.0, 0.0, 1, 0.78125, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 12, 0, 1, 0.390625, 0.0, 0.0, 1, 0.390625, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 13, 0, 1, 0.78125, 0.0, 0.0, 1, 0.78125, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 14, 0, 1, 0.78125, 0.0, 0.0, 1, 0.78125, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 15, 0, 1, 0.390625, 0.0, 0.0, 1, 0.390625, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 16, 0, 1, 0.78125, 0.0, 0.0, 1, 0.78125, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 17, 0, 1, 0.390625, 0.0, 0.0, 1, 0.390625, 0.957031, 0.957031, 1, -1, -1 ], [ 3, 18, 0, 1, 0.0, 0.0, 0.78125, 1, 0.996094, 0.78125, 0.957031, 1, -1, -1 ], [ 3, 19, 0, 1, 0.0, 0.0, 0.996094, 1, 0.996094, 0.996094, 0.957031, 1, -1, -1 ] ],
“cellmap” : [ [ 0, -26, -25 ], [ 0, -25, -24 ], [ 0, -23, -22 ], [ 0, -21, -20 ], [ 0, -19, -18 ], [ 0, -18, -17 ], [ 0, -17, -16 ], [ 0, -16, -15 ], [ 0, -14, -13 ], [ 0, -13, -12 ], [ 0, -12, -11 ], [ 0, -11, -10 ], [ 0, -10, -9 ], [ 0, -9, -8 ], [ 0, -8, -7 ], [ 0, -7, -6 ], [ 0, -6, -5 ], [ 0, -5, -4 ], [ 0, -4, -3 ], [ 0, -3, -2 ], [ 0, -2, -1 ], [ 0, -1, 0 ], [ 0, 0, 1 ], [ 0, 1, 2 ], [ 0, 2, 3 ], [ 0, 3, 4 ], [ 0, 4, 5 ], [ 0, 5, 6 ], [ 0, 6, 7 ], [ 0, 7, 8 ], [ 0, 8, 9 ], [ 0, 9, 10 ], [ 0, 10, 11 ], [ 0, 11, 12 ], [ 0, 12, 13 ], [ 0, 13, 14 ], [ 0, 14, 15 ], [ 0, 15, 16 ], [ 0, 16, 17 ], [ 0, 17, 18 ], [ 0, 18, 19 ], [ 0, 19, 20 ], [ 0, 21, 34 ], [ 0, 22, 22 ], [ 0, 23, 24 ], [ 0, 24, 25 ], [ 0, 25, 26 ], [ 0, 26, 27 ], [ 0, 27, 28 ], [ 0, 28, 27 ], [ 0, 29, 29 ], [ 0, 30, 30 ], [ 0, 31, 31 ], [ 0, 33, 32 ], [ 0, 34, 34 ], [ 0, 35, 35 ], [ 0, 37, 36 ], [ 0, 38, 38 ], [ 1, 0, "C:/x-follow/001.txt" ], [ 1, 1, "C:/x-follow/002.txt" ], [ 1, 2, "C:/x-follow/003.txt" ], [ 1, 3, "C:/x-follow/004.txt" ], [ 1, 4, "C:/x-follow/005.txt" ], [ 1, 5, "C:/x-follow/006.txt" ], [ 1, 6, "C:/x-follow/007.txt" ], [ 1, 7, "C:/x-follow/008.txt" ], [ 1, 8, "C:/x-follow/009.txt" ], [ 1, 9, "C:/x-follow/010.txt" ], [ 1, 10, "C:/x-follow/011.txt" ], [ 1, 11, "C:/x-follow/012.txt" ], [ 1, 12, "C:/x-follow/013.txt" ], [ 1, 13, "C:/x-follow/014.txt" ], [ 1, 14, "C:/x-follow/015.txt" ], [ 1, 15, "C:/x-follow/016.txt" ], [ 1, 16, "C:/x-follow/017.txt" ], [ 1, 17, "C:/x-follow/018.txt" ], [ 1, 18, "C:/x-follow/019.txt" ], [ 1, 19, "C:/x-follow/020.txt" ], [ 3, -3, "open" ], [ 3, -1, "open" ], [ 3, 0, "open" ], [ 3, 1, "open" ], [ 3, 2, "open" ], [ 3, 3, "open" ], [ 3, 4, "open" ], [ 3, 5, "open" ], [ 3, 6, "open" ], [ 3, 7, "open" ], [ 3, 8, "open" ], [ 3, 9, "open" ], [ 3, 10, "open" ], [ 3, 11, "open" ], [ 3, 12, "open" ], [ 3, 13, "open" ], [ 3, 14, "open" ], [ 3, 15, "open" ], [ 3, 16, "open" ], [ 3, 17, "open" ], [ 3, 18, "open" ], [ 3, 19, "open" ], [ 4, 0, 0 ], [ 4, 1, 0 ], [ 4, 2, 0 ], [ 4, 3, 0 ], [ 4, 4, 0 ], [ 4, 5, 0 ], [ 4, 6, 0 ], [ 4, 7, 0 ], [ 4, 8, 0 ], [ 4, 9, 0 ], [ 4, 10, 0 ], [ 4, 11, 0 ], [ 4, 12, 0 ], [ 4, 13, 0 ], [ 4, 14, 0 ], [ 4, 15, 0 ], [ 4, 16, 0 ], [ 4, 17, 0 ], [ 4, 18, 0 ], [ 4, 19, 0 ], [ 4, 20, 21 ], [ 5, 0, 0, ":", 2, ":", 20.677 ], [ 5, 1, 0, ":", 0, ":", 0.0 ], [ 5, 2, 0, ":", 0, ":", 0.0 ], [ 5, 3, 0, ":", 0, ":", 0.0 ], [ 5, 4, 0, ":", 0, ":", 0.0 ], [ 5, 5, 0, ":", 0, ":", 0.0 ], [ 5, 6, 0, ":", 0, ":", 0.0 ], [ 5, 7, 0, ":", 0, ":", 0.0 ], [ 5, 8, 0, ":", 0, ":", 0.0 ], [ 5, 9, 0, ":", 0, ":", 0.0 ], [ 5, 11, 0, ":", 0, ":", 0.0 ], [ 5, 12, 0, ":", 0, ":", 0.0 ], [ 5, 13, 0, ":", 0, ":", 0.0 ], [ 5, 14, 0, ":", 0, ":", 0.0 ], [ 5, 15, 0, ":", 0, ":", 0.0 ], [ 5, 16, 0, ":", 0, ":", 0.0 ], [ 5, 17, 0, ":", 0, ":", 0.0 ], [ 5, 18, 0, ":", 0, ":", 0.0 ], [ 5, 19, 0, ":", 0, ":", 0.0 ], [ 6, 0, 0, ":", 0, ":", 0.0 ], [ 6, 1, 0, ":", 0, ":", 0.0 ] ]
}

}
]
}

#39224
Aug 11, 2008 at 9:43am

For some (me unknown) reason the read/write has been removed from the jit.cellblock, and it must be done through referencing a coll.

See also this thread:

http://www.cycling74.com/forums/index.php?t=msg&th=33113&start=0&rid=6408&S=d168083fd5b4cf8f5f2934a21849a28a

#137790
Aug 11, 2008 at 11:11am

Do you have positive result with coll? At first I’m puzzled how to do it with small blood)))))
Thanks Again!

#137791
Aug 11, 2008 at 11:19am

There is an example of how it is done in the jit.cellblock help patch, it does require some extra thinking/patching to get it right.

Also as far as I know files saved through the ‘old pre 5′ jit.cellblock can’t be opened with this new style, at least not as they supposed to be.

#137792
Aug 11, 2008 at 8:45pm

There is also an example in |coll.help|
The technic to refer [jit.cellblock ] to a coll seems the same as coll to coll.
Check it!

#137793

You must be logged in to reply to this topic.