Urgent help ! How to set resolution of presentation patcher

Dec 9, 2011 at 7:33pm

Urgent help ! How to set resolution of presentation patcher

hi guys,

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 !!

#60586
Dec 9, 2011 at 7:40pm

[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.

#218029
Dec 9, 2011 at 7:56pm

great info, thanks james

would the safest solution be, to get the exact resolution of the laptop that will be connected to the TV ?

#218030
Dec 9, 2011 at 8:13pm

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 ??

#218031
Dec 9, 2011 at 11:21pm

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

zoomfactor $1
to [thispatcher]

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 :)

#218032
Dec 11, 2011 at 1:22am

just reporting, everything went flawlessly

a big, big, big thank you seejayjames !!

heres a present : http://cdn.smosh.com/sites/default/files/bloguploads/soviet-mario-winner_0.jpg

cheers

#218033

You must be logged in to reply to this topic.