I'm having a little bit of an odd problem with some js being used to dynamically create and set message boxes for routing of OSC data. I have no problems getting info into my message boxes however max is adding quotation marks to my messages thus nullifying the messages usability as an OSC encoder.
Here is some code:
// ...in with the new
numinlets = a; // update our global number of inlets to the new value
if(numinlets) theudpsend = this.patcher.newdefault(300, 300, "udpsend", "localhost" ,8369); // make the udpsend
you can see where i am setting the message boxes with "control mess[k].message("set" , "/" + (this.patcher.name)......"
Whats I'm expecting is a message box set to read: /thispatchername/button/argumentname $1
What I am getting is: "/thispatchername/button/argumentname $1"
Does anyone know why I'm getting these quotation marks added to my messages?
Thanks in advance!