pattrforward and parent patcher


    Mar 18 2006 | 9:45 am
    I tried to send a message to the parent patcher with inx. My attempt was, to directly communicate with the thispatcher object of the parent without needing it.
    but it doesn't work. Is my synthax wrong, or isn't it possible at all? I'd like to talk to the thispatcher of a parent without the need of actually instantiating a thispatcher object and giving it a name.
    The concrete issue is a defocusing. Thus if there would be a way to defocus with a scripting command, this would make me happy as well. Though the possibility to talk to a parent patcher directly is on my wishlist for a long time.
    Stefan
    --
    [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
    Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
    /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
    -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
    14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09

    • Mar 18 2006 | 11:11 pm
      Sorry, there's currently no way to do this from the toplevel patcher (your patch works in a subpatch, although the name has to be parent::somebox).
      The pattrforward object speaks to boxes, and your parent patcher, in this case, has none. Because I was so mean to you yesterday, though, I've added this feature for the next release of the object. The name of the pattrforward object's containing patcher will be "this". And "this" will work at any patcher level.
      Until then, you'll need to talk to the patcher through a thispatcher object or use JavaScript to do this.
      jb
    • Mar 19 2006 | 1:49 pm
      Jeremy Bernstein wrote: > Because I was so mean to you yesterday, though,
      didn't realise it yet ... ;-)
      > I've added this feature for the next release of the object. The name of > the pattrforward object's containing patcher will be "this". And "this" > will work at any patcher level.
      Wow, nobody can beat you with the speed of implementing useful stuff (even more useful than asked for), thanks a lot. I can wait (...for the incremental) update...
      Stefan
      --
      [][] [][][] [][] [][][] [][][][][][][][][][][][][][][]
      Stefan Tiedje Klanggestalter Electronic Composition & Improvisation
      /~~~~~ \ /|() ()| ))))) )| | |( \ /// _/)/ ))))) ___/ ///
      -------------------------x---- --_____-----------|----------- --(_|_ ----|-----|-----()---- -- _|_)----|-----()----------- ----------()------------x-----
      14, Av. Pr. Franklin Roosevelt, 94320 Thiais, France Phone at CCMIX +33-1-57 42 91 09