Forums > MaxMSP

jit.pwindow doesnt understand active

September 16, 2013 | 5:57 pm


Im trying to hide/show a jitter window by passing the attributes , hidden/active. It does work sometimes (but not when the patch is first opened) and then im getting the error "doesnt understand active".

Can anyone confirm that jitter windows can be hidden/shown using this command?



September 16, 2013 | 7:24 pm

The messages ‘hidden’ and ‘active’ are not opposites. The messages ‘hidden 1’ and ‘hidden 0’ are opposites. Those messages toggle the ‘hidden’ (hide on lock) attribute on or off.

September 16, 2013 | 7:33 pm

The above is for jit.pwindow. For jit.window the relevant attribute is ‘visible’ (‘visible 1’ and ‘visible 0’).

September 17, 2013 | 7:44 am

Thanks chris I have now solved the active problem.

However, I have another problem now. I have two bpatches, one on top of the other, each with a jit.pwindow in. Im using a basic hiding mechanism to hide the bpatchers and also the jit.pwindows inside them. However, when I first load the device both of the jitwindows show (when one of them has been saved as hidden). Any idea why this might happen?

September 17, 2013 | 7:57 am

For some reason checking "include in background presentation" on the jitwindow seemed to fix it.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP