Forums > MaxMSP

Creating a Chat Room in Max

Aug 24 2010 | 9:13 pm


I’m trying to create a networked "chat room" between three computers that will displayed through a projector. The only problem that I am having is that the textedit object seems to be limited in terms of displaying multiple lines of text. Every time I send a message from one textedit object to the displayed textedit object it erases the previous entry. Does anyone now how to fix this is the attributes?

Aug 24 2010 | 9:46 pm

i dont know exactly what your problem is, but maybe this will help:

[route text]
[prepend append]

Aug 25 2010 | 4:33 pm

Thanks for the reply. I implemented this code and I am now trying create a break after every post. With the code above, the text just gets appended onto the same line. I’ve tried to create a separator message but this did not cause a break between each post. Please help!

  1. chatroom.maxpat

Aug 25 2010 | 6:50 pm

here is another way of doing it. this will need some work!! here I am using scripting to create individual message boxes for each entry. right now there is no convenient way to delete messages. with some elbow-grease and the @varname attribute it is real easy to do.

-- Pasted Max Patch, click to expand. --

Aug 25 2010 | 9:10 pm

Thanks for the help, I’ll have to parse through this one…..

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

Forums > MaxMSP