Apr 1, 2007 at 11:25am
i’m trying to find all named objects in the parent patch of a bpatcher, by using a js inside that bpatcher.
if i try to do it with this.patcher.box.apply, i get the error message
how could it be possible?
Apr 1, 2007 at 8:50pm
Guess that should be this.patcher.box.patcher.apply.
Quote: Jan Klug wrote on Sun, 01 April 2007 13:25
Apr 1, 2007 at 9:01pm
ok, thanks mattijs, that helps me to understand js and its documentation a bit more!
dank & groet,
Apr 1, 2007 at 9:43pm
I don’t think there is a method that directly retrieves an array of all named objects of the containing patcher, if that is what you mean, but with the box or parentpatcher properties it is very well possible to do this. I actually did this before but I don’t think I have the code nearby.
Quote: Jan Klug wrote on Sun, 01 April 2007 23:01
Apr 2, 2007 at 7:26am
ah, this.patcher.parentpatcher.apply did the trick!
thanks for the help!
You must be logged in to reply to this topic.