How to close a jit.pwindow object

    Mar 13 2012 | 2:22 pm
    Hello everyone,
    I am a beginner working with Max/MSP/Jitter and I have a little problem. I would like to close two jit.window that I have created in my patch but I don't get how I can do that.
    I saw that a jit.window can receive several messages and I think the one which is useful for me is the "bang" but I tried to sent them '0' or 'close' but it didn't work or maybe I didn't get what is a bang message.
    Can someone know how I can do that?

    • Mar 14 2012 | 2:19 pm
      What do you mean by "would like to close jit.window"? (Your tag mention is jit.pwindow) May you specify your question?
    • Mar 15 2012 | 12:32 pm
      Hey Helmut,
      yeah i saw that i made a mistake because I just want to close a jit.window and not a jit.pwindow which would be stupid as they are directly included IN my patch.
      My question is for several jit.window which opens when I start my patch but they don't close at the end even if I send them bang messages as '0' or 'close' and I don't know if I can do that with a message as I saw the jit.window don't accept everything
    • Mar 15 2012 | 12:48 pm
      Ok I just found out how i can do that. I was looking in the messages I could send to my jit.window but I totally forgot the attributes. I have to set the 'visible' attribute to 1 or 0.