Re: Programmatic control of abstraction color

Hi,

With javascript you can do something like that to change the colorindex attribute.

function msg_int(a) {
    this.patcher.box.colorindex = a;
}

I can not find how to change the “bgcolor” attribute of the box.

this.patcher.box.message("bgcolor", 1., 0.75, 0., 1.); // don't work, why ?

It seems bound to the bgcolor of the subpatcher window. Anybody ?

Attachments:
  1. foo.zip
Mar 1, 2013 at 6:52pm #240386