Possible to have a M4L Device open into a new window?

    Dec 02 2013 | 4:41 pm
    I have a device i would like to create that has way too much going on to sit in the Live plug-in frame at the bottom. Is is possible to have the device open up a new window like a VST? If so, how would I do this?

    • Dec 02 2013 | 6:01 pm
      Get windowdragger (which I have attached) and place it within your project folder. It is a small js file which creates a draggable background for your popup window/device. Then, copy the following code to your clipboard. Then, in Max, click File|Paste from Clipboard. Then look at the inspector for the jsui object and edit the filepath to your windowdragger.js file. Finally, save the patch as an abstraction file, which you can include in a parent patch which will trigger it to open or close.
      This approach allows you to think of the patch you are writing as a popup window object.
      There are also other approaches.
      Hope this helps, miguel3d
      Here's the code:
    • Dec 02 2013 | 6:28 pm
      I did not think it would be this complicated, but after a little tweaking, i got it to work. Thanks so much, now i'm on to making some external synth editors.
    • Dec 02 2013 | 8:06 pm
      What about:
      open [pcontrol] [p your_patch]