Javascript outlets, what am I missing?

Jul 18, 2007 at 11:10pm

Javascript outlets, what am I missing?

So I created an outlet and sent this to it:

outlet(0,”set this is it”);

and then in max, send the outlet to a message box. Max just tells me the message box doesn’t know how to handle set this is it. what could I be doing wrong?

Thanks!
Rick

#32948
Jul 18, 2007 at 11:19pm

try outlet(0,”set”, “this is it”);
In what you posted, it’s all one symbol, not a message like is
needed. To make a message generally it’s outlet(0, “message”, “args”,
…)

wes

On 7/19/07, Rick Burnett wrote:
>
> So I created an outlet and sent this to it:
>
> outlet(0,”set this is it”);
>
> and then in max, send the outlet to a message box. Max just tells me the message box doesn’t know how to handle set this is it. what could I be doing wrong?
>
> Thanks!
> Rick
>

#109156
Jul 18, 2007 at 11:40pm

Thanks! That was definitely not clear to me. Works now!

#109157
Jul 20, 2007 at 1:56am

Or just send the message without “set” and use a prepend set object outside the js. Then the js just sends the message itself.

–CJ

#109158
Jul 20, 2007 at 10:55am

Moving this topic to the Javascript forum, mailing list users please reply to the Javascript list.

#109159
Jul 20, 2007 at 3:48pm

Sorry about posting it here, I didn’t notice the JavaScript section initially.

#109160

You must be logged in to reply to this topic.