Forums > MaxMSP

thispatcher @varname bug?

January 14, 2011 | 2:04 am

So i am attempting to send a message to thispatcher to create a send object with a scripting name. This is the message I am sending to thispatcher:

script newobject send foo @varname foo

When the new object is created it just adds the @varname like its an argument. Inside the object it looks like this: send foo @varname foo.

I have tried using this scripting message as well:

script newobject newobj @text send foo @varname foo

but this gives me the same result. When I try to build a different object other than a send object the message works just fine.

HELP!
GW


January 14, 2011 | 2:09 am

Or if someone knows a way to send a message to a send object to set its scripting name or through thispatcher?

GW


January 14, 2011 | 4:59 am

Don’t forget the quotes:

script newobject newobj @text "send one" @varname two


January 14, 2011 | 6:53 am

There it is!!! thanks man!
GW


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