windowdrag.js does not work in Max 5.0.7 OS X or XP

Jun 17, 2009 at 3:01pm

windowdrag.js does not work in Max 5.0.7 OS X or XP

Any ideas on why this windowdrag.js is not working anymore in Max 5?

http://www.cycling74.com/story/2006/5/15/15027/4227

It is really useful code.

Div

#44412
Jun 17, 2009 at 3:49pm

I made it with max objects but it seems like it would be better to have it in the jsui object.

Any ideas?

– Pasted Max Patch, click to expand. –
#159752
Jun 17, 2009 at 10:42pm

Works fine here, XP. Though you should have anything coming out of the rightmost ubutton outlet also turn off mousestate, it’s possible to get it “stuck” if you drag too fast (the mouseup form the left outlet isn’t reported quickly enough).

I added that and made the patcher background semi-transparent when you drag, which I think is only possible with no title bar. Love the possibilities there for some really slick interface panels that you can see through.

– Pasted Max Patch, click to expand. –
#159753
Jun 17, 2009 at 11:39pm

The original js code seems to be almost working for me in 5.07, but there is some goofy error whereby the patcher window grows right off the bottom of the screen.

I’ll have a look at it

-A

#159754

You must be logged in to reply to this topic.