Best way to overide text object commands

Jul 12, 2010 at 1:03am

Best way to overide text object commands

Hello,

I have a text objec that is being fed a stream of single words from a javascript object. In betwen the javascript and the text object is a subpatcher that checks for messages to the text object and converts the to symbols. This is apparently a proximal cause to Max crashing (see below). I am wondering what the best way to convert messages like “open” so that it would be a word in the text object rather than opening it?

Thanks

– Pasted Max Patch, click to expand. –

I think this is the proximal cause of the crash becasue of these lines in the report. It is the only place I can find an iter leading to a route

0 com.cycling74.MaxMSPRuntime 0×00046336 route_list(route*, symbol*, short, atom*) + 46
1 com.cycling74.MaxMSPRuntime 0x0001b8f2 typedmess_fun + 782
2 com.cycling74.MaxMSPRuntime 0x0005e6ef outlet_anything + 727
3 com.cycling74.MaxAPI 0x0147a721 outlet_anything + 60
4 com.cycling74.iter 0x18d79dad iter_anything + 264

Attachments:
  1. carriageReturns.js
#51296
Jul 12, 2010 at 1:11am

Nevermind (but thanks for reading). Right after I posted I realized I could group the output from the JS using zl group and then go to symbol, now I just have to account for when a command message is the last line of something and comes out singularly from a the group object.

#183940

You must be logged in to reply to this topic.