accessing patcher arguments with javascript
Hi,
I must be missing something. I can't find how to access the arguments of a Patcher object in javascript. I would expect the Patcher object to have a method such as getArgs() or a property args, but I can't find anything like it. There seems to be no real answer to this on the forum either.
Can someone point me in the right direction?
Thanks,
Mattijs
I looked into this the other day, and I don't think this is currently
possible. Sorry for the bad news.
jb
Am 17.12.2006 um 13:44 schrieb Mattijs Kneppers:
>
> Hi,
>
> I must be missing something. I can't find how to access the
> arguments of a Patcher object in javascript. I would expect the
> Patcher object to have a method such as getArgs() or a property
> args, but I can't find anything like it. There seems to be no real
> answer to this on the forum either.
>
> Can someone point me in the right direction?
Workaround?:
Use js to instantiate a patcherargs object, connect its outlets to the js object, send it a bang, deal with the args in js via a list() function, and delete it.
Quote: Jeremy Bernstein wrote on Sun, 17 December 2006 22:03
----------------------------------------------------
> I looked into this the other day, and I don't think this is currently
> possible. Sorry for the bad news.
>
> jb
>
Oi, that's a pity. I was actually using an external patcherargs, johnpitcairn, but suddenly realised I was probably doing unnessecary work and got onto the forum. Guess I'll stick with the workaround then.
Thanks all,
Matttijs
Hi,
Is there any solution today, please?
I create a sub-patcher from JavaScript, then I would like to set (from the JavaScript) this patcher opens in Presentation mode.
Is this possible, please?
Thanks in advice!
this.patcher.box.boxtext