Urgent help ! How to set resolution of presentation patcher
im in a bit of a runt. Tommorow have a presentation infront of a few people on a friends laptop, which will be running one of my programs from max, exported to standalone of course. I have just now, obviously, found out that the picture on the televison to which my friends laptop will be connected is different to mine on the desktop, and the picture isnt full on the TV – i.e. needs to be scrolled, which isnt acceptable in my case
is there a way to force the resolution or make it scalable, so that the full pic is on the TV ??
the laptop will be running only the exe standalone exported from Max, no Max 6 installed
thanks in advance !!
[jit.displays] once the TV is connected should give you the resolution of the connected TV (as a second monitor), then you can send that size to [thispatcher]:
window size $1 $2, window exec
whatever the size is. note "window exec" as a second message to actually see the change.
however, it will be up to you to ensure the patch objects scale accordingly—when you change the patch window size, they don’t stretch.
"fullscreen 1" to [thispatcher] can also be helpful, however no subpatches will show on top of this unless they’re floating.
great info, thanks james
would the safest solution be, to get the exact resolution of the laptop that will be connected to the TV ?
another workaround would be to make zoom in, zoom out buttons on the patcher and adapt on the fly, when the picture is on the tv ??
Well, you can get the res of the laptop, but you need to decide what res the second monitor will be, if you’re using it as such (because it can change). If you’re just using the one screen, then yeah, get the default res of the laptop and use that.
You can make zoom controls by sending
but it might not be that helpful because you can’t control where it zooms (can you? would be nice to know). I’d adjust the patch to fit the laptop resoultion (or the second-screen resolution you want to use) and just hard-code it in, especially given the time-frame. For future projects you can get way fancier :)
just reporting, everything went flawlessly
a big, big, big thank you seejayjames !!
Forums > MaxMSP