Have max analyse screen size then adjust window to fit and also zoom out?

matt22sound's icon

Hi,

i've been studying the window getsize, thispatcher etc, but i've not had any luck.

I need Max to get the size of the screen, adjust the window to fit, and then zoom out to see the whole patch.

Many Thanks

Matt

matt22sound's icon

or just so that it zooms out upon launching the patch. I don't mind having a fixed window size

matt22sound's icon
Max Patch
Copy patch and select New From Clipboard in Max.

nevermind, I figured it out.
It needed a delay for the loadbang. Probably because I have so many things going on.

Luke Hall's icon

The [deferlow] object is probably a better option as you don't need to specify a certain delay time, the message will be delayed to the end of the low priority thread automatically.

matt22sound's icon

oh awesome, thanks! :)