JSUI and inlets/outlets

Jul 15, 2007 at 5:30am

JSUI and inlets/outlets

At the beginning of my js code I have

inlets=3;
outlets=3;
autowatch=1;

The autowatch works, but the JSUI object still only shows 1 inlet and 1 outlet no matter what I do.

Any thoughts?

Rick

#32885
Jul 15, 2007 at 5:37am

I normally delete, then undo and it comes back with the right number
with inlets/outlets. Assuming you’ve done everything right… that
works.

Keith

On 7/15/07, Rick Burnett wrote:
>
> At the beginning of my js code I have
>
> inlets=3;
> outlets=3;
> autowatch=1;
>
>
> The autowatch works, but the JSUI object still only shows 1 inlet and 1 outlet no matter what I do.
>
> Any thoughts?
>
> Rick
>

#108827
Jul 15, 2007 at 5:48am

Even stranger, I had to move the js file to the same location as the patch I was working on. Then I deleted and undid and it came back and WITH the correct ports.

THANKS!!!

:)

Rick

#108828
Jul 15, 2007 at 6:45am

On 15 juil. 07, at 07:37, keith manlove wrote:

> I normally delete, then undo and it comes back with the right number
> with inlets/outlets. Assuming you’ve done everything right… that
> works.

That’s true. Changing the number of inlets/outlets requires the
recreation of the object (the object can’t just self-destruct an
reinstantiate a new one). AFAIK inlets and outlets property are the
only one which requires that, otherwise autowatch is just great.

ej

#108829
Jul 15, 2007 at 6:49am

I just discovered autowatch as well and YES it really helps :)

#108830

You must be logged in to reply to this topic.