dynamic GUI

    Jun 16 2011 | 10:43 pm
    dear advanced patchers.
    I have spent some troublesome time while performing my current live set. I find my GUI, with tons of number boxes, umenus, and comments, more and more distracting. (scrolling up and down with mouse is the worst you can do when performing!)
    It would be very helpful if, Max can dynamically show ONLY what I control at the moment and hide the others. Say, I tweak a knob for a filter cutoff, then the GUI will display only associated number boxes and comments. Like the filter section of my GUI.
    Is it possible? I know it's always better to come up with some patch, but being a inexperienced max user, it's difficult to start somewhere.
    Any ideas?
    thank you very much.

    • Jun 16 2011 | 10:50 pm
      In the common box attributes, hidden : hidden : int default.:0 -> Toggles whether an object is hidden when the patcher is locked.
    • Jun 17 2011 | 2:28 am
      Here's what I do, it's a great trick that I use all the time in my UIs:
      encapsulate things in bpatchers. Give those bpatchers scripting names.
      Now, you can make buttons, linked to a message, linked to 'thispatcher' (on the same layer as the bpatchers, not within). Within that message box type 'script bringtofront bpatcherX' where 'bpatcherx' is the name of the control you want to bring forward.
      Now you can lay all your bpatchers on top of one another, and use your switchbay (or MIDI device, or whatever you want to trigger it) to swap between them. As long as all your 'layers' have a script that calls them, you don't have to worry about jumble!
      Here's an example.
    • Jun 17 2011 | 11:47 am
      FANTASTIC!!! I haven't imagined that it could be so easy and straight-forward! Thanks a lot!!!
    • Jun 18 2011 | 1:27 pm
      You might want to look in to using [bpatcher] with the "offset" message. Have a look in [patcher more] in the [bpatcher] helpfile for an example using [tab] too.