auto zoom when patcher window is resized

Oct 23, 2012 at 10:57am

auto zoom when patcher window is resized


i’ve done this little patch it works well but there’s two things I don’t like about it

-the qmetro to get the size of the window (is there a way to get it only when the window is resized by the user?)

-when you resize the window it offset from the origin and you have to rescroll it manually to x,y origin (is there a message to [thispatcher] to reset the offset to 0,0 or is there’s a way to unable scroll bars?)

thanks a lot

I’m not not really familiar with js but if it is the only way i will take it!

  1. zoomWindow.maxpat
Oct 23, 2012 at 2:12pm


Somewhere in my github you can find an external named [quebec] to get a bang when the window is resized (and few other stuff) ; currently mac only and done with max 5 (should work with max 6 but not tested).

Oct 23, 2012 at 3:35pm

thank you a lot it works well


Oct 29, 2012 at 5:08pm

yeh !!
very useful!!
it took me a while to find the actual download…here is the direct link:
thanks mr danet !

Oct 29, 2012 at 6:16pm

You’re welcome.

I admit that it is not user friendly.

[qebec] currently does 3 things :
- bang when resized,
- report lock/unlock state,
- notify when the title of the parent patcher box is changed ; e.g to dynamicaly set a [receive] inside a subpatcher.

– Pasted Max Patch, click to expand. –

if you have any comment / suggestion do not hesitate ; it aims to be a swiss army knife for observing notifications.

Thanks, Nicolas.


You must be logged in to reply to this topic.