Forums > Max For Live

Floating Window?

May 18, 2010 | 11:23 pm

How do you make a floating window with thing you’d like to see from the presentation?

Can it be done so it’s always above Ableton, so if I click on Ableton the window will stay on top?


May 19, 2010 | 1:16 am

You need the ‘thispatcher’ object. Here’s an example. Remember if you make changes to a window to always leave yourself a button in edit view that will make the window normal again.

– Pasted Max Patch, click to expand. –

May 19, 2010 | 2:11 am

THANKS!

I’m not real clear on how the thispatcher works. I have been reading about it but I am still unsure. I pasted the patch you provided into my patch, it does not open my presentation view. Do I need to put what I want in the floating window, some place specific? Should I connect the this patcher to something?



pid
May 19, 2010 | 9:21 am

[thispatcher] must reside in the window you want to affect. the logic can reside anywhere.

– Pasted Max Patch, click to expand. –

the thispatcher help file is… helpful.


May 20, 2010 | 8:43 am

That’s all well and good, but we need a way to do this in a fashion that is comparable to the way that AU’s and VST’s work. i.e., when the Live track with the plugin is selected, it floats; when it isn’t, it disappears. I was able to do this with pluggo….why not m4l?



pid
May 20, 2010 | 2:06 pm

hi amounra,

do you mean something like this?

(copy and paste into an empty maxforlive audio effect template; save; close; use):

– Pasted Max Patch, click to expand. –

caveats: 1– i did this pretty quickly, it might not be the best – you could certainly make it tidier / more efficient. 2– fair enough, i would not use this myself – dynamically changing windows etc whilst the live transport is running is remarkably unreliable at times.

hope that helps,
.


May 20, 2010 | 7:45 pm

caveats: 1– i did this pretty quickly, it might not be the best – you could certainly make it tidier / more efficient

looks pretty nice, actually.

2– fair enough, i would not use this myself – dynamically changing windows etc whilst the live transport is running is remarkably unreliable at times.

yeah, same here. I have enough problems just clicking on m4l patches and waiting for their native window to show up in the GUI. I tend to use floating windows for stuff I need to see a lot just so I don’t have to deal with the delay when I want to look at something.

The patch you posted is a very nice workaround to something that should be natively handled by m4l without all the trouble. Thanks for sharing :)


October 15, 2012 | 10:38 am

hello guys !

is there a way to make "main device" floating outside ableton ?


October 15, 2012 | 7:21 pm

i still did not found anything :/ anyone has some ideas ?


October 16, 2012 | 7:36 am

put the main patcher in a bpatcher, and make the bpatcher float


October 16, 2012 | 9:29 am

Hi UG … are you sure ? i cant make it to work with thispatcher nor with pcontrol :/


October 16, 2012 | 11:07 am

works here

– Pasted Max Patch, click to expand. –

October 16, 2012 | 11:24 am

it works in your M4L device UG ?


October 16, 2012 | 11:45 am

it opens the same window in the middle of the screen. It doesnt stay on top, when i click on Live.
so your right, "Windows flags float" seems not to work


October 16, 2012 | 11:54 am

i would be happy if it could open the window in the middle :D i cant see anything actually . i can live without float ,but i cant see any window .
is that possible ? am i doing something wrong ? did you checked my attachment if it work in your environment ?


October 16, 2012 | 12:03 pm

i checked your patch, when pressing the "show" button the window opens.


October 16, 2012 | 12:07 pm

thanks :(


October 16, 2012 | 9:51 pm

Window flags float definitely works in m4l/Max5/Max6….I use it all the time. Maybe there’s some specific problem with the patch….or maybe you need to put the bpatcher in another patcher, and float that (sorry, unfortunately I can’t look at your patch atm).

a


November 25, 2012 | 10:41 am

I use floating windows all the time as described above and it works great. One question though, how do you make that window "always on top" in Live? As soon as I click somewhere else, my window goes behind Live. Less useful…


November 25, 2012 | 12:28 pm

send "topmost 1" / "topmost 0" to thispatcher object to make a window really "always on top". i’m not sure if that works for floating windows..O.


November 25, 2012 | 3:47 pm

Hrm. Nope "topmost 1" didn’t do anything. Hrm.


November 28, 2012 | 7:35 pm

topmost message works for me, with non floating window, win7. window stays on top even while working with other software..O.


November 28, 2012 | 8:53 pm

You need to actually make it float. It sounds like you’re just opening it, but not setting the float flag. Are you using the "window flags float 1", then "window exec" messages to [thispatcher]?


November 29, 2012 | 3:55 am

Here’s what worked.

"window flags nomenu, window flags float, window exec, front, presentation 1"

– Pasted Max Patch, click to expand. –

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