Forums > MaxMSP

text in max

May 11, 2006 | 10:56 pm

i’m looking for an object that combines the text and
textedit objects in a way in witch text can be
inputted and view in real time from another object or
message box, but that such input data can be stored
and displayed until an order is given to erase it,
essentially a textedit with memory.

http://prof.usb.ve/aizarra


May 12, 2006 | 10:17 am

hi!
i’m not sure if i understood your question right, but maybe
you’re looking for something like the uconsole ubject?
url below

max
_____________________________________________

m a x i m i l i a n m a r c o l l

http://www.maximilianmarcoll.de


May 14, 2006 | 3:38 pm

Hi
I’m not sure what you mean with the saving part. Do you need to save the text on disk and do you need to save more than one messages?

Is this what you need?

-Morten_E

max v2;
#N vpatcher 633 350 1254 809;
#P origin 0 -17;
#P window setfont "Sans Serif" 9.;
#P newex 86 255 60 196617 loadmess 1;
#P toggle 86 280 40 0;
#P newex 21 321 29 196617 gate;
#P message 231 198 22 196617 set;
#P newex 231 228 55 196617 s textmes;
#P newex 251 326 58 196617 r textmes;
#P window setfont "Sans Serif" 12.;
#P window linecount 0;
#P message 251 353 262 196620;
#P window setfont "Sans Serif" 9.;
#P user textedit 21 354 237 411 32896 3 9;
#P window linecount 1;
#P newex 21 300 37 196617 r text;
#P newex 191 228 37 196617 s text;
#P message 191 198 33 196617 clear;
#P newex 191 176 32 196617 sel 1;
#P newex 191 155 34 196617 zl len;
#P newex 124 24 60 196617 loadmess 1;
#P newex 272 155 62 196617 zl slice 1;
#P newex 324 193 62 196617 prepend set;
#P user textedit 191 84 407 141 32896 3 9;
#P toggle 124 46 15 0;
#P newex 123 66 52 196617 metro 50;
#P window setfont "Sans Serif" 12.;
#P comment 207 62 174 196620 Type something in this box;
#P window setfont "Sans Serif" 9.;
#P comment 128 280 100 196617 receive text on/off;
#P connect 19 0 18 0;
#P connect 18 0 13 0;
#P connect 12 0 18 1;
#P connect 20 0 19 0;
#P connect 3 0 2 0;
#P connect 7 0 3 0;
#P connect 2 0 4 0;
#P connect 4 0 8 0;
#P connect 8 0 9 0;
#P connect 9 0 10 0;
#P connect 5 0 11 0;
#P connect 10 0 11 0;
#P connect 9 0 17 0;
#P connect 5 0 16 0;
#P connect 17 0 16 0;
#P connect 15 0 14 0;
#P connect 4 0 6 0;
#P connect 6 1 5 0;
#P pop;


Viewing 3 posts - 1 through 3 (of 3 total)