resizing patch window

May 29, 2007 at 4:38pm

resizing patch window

would there be a way to resize the patch window under Mac?
Sometimes my patches are bigger than the monitor and I would like a funtion like set window to monitor size or so. I suppose one can not do that?

#32170
May 29, 2007 at 5:07pm

#105349
May 29, 2007 at 5:13pm

Quote: hans.mittendorf@free.fr wrote on Tue, 29 May 2007 18:38
—————————————————-
> would there be a way to resize the patch window under Mac?
> Sometimes my patches are bigger than the monitor and I would
> like a function like set window to monitor size or so.
> I suppose one can not do that?
—————————————————-

Hi Hans,

Try with [screensize].
Example:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 19 194 30 196617 t b s;
#P number 228 96 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 191 96 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 154 96 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 116 96 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N thispatcher;
#Q end;
#P newobj 19 281 57 196617 thispatcher;
#P button 19 40 18 0;
#P message 102 224 19 196617 set;
#P window linecount 0;
#P message 19 256 232 196617;
#P window linecount 1;
#P newex 39 223 57 196617 prepend set;
#P newex 19 172 248 196617 sprintf window size %ld %ld %ld %ld \, window exec;
#P newex 19 61 53 196617 screensize;
#P newex 19 153 74 196617 pack i i i i;
#P newex 82 126 20 196617 – 0;
#P newex 61 126 20 196617 – 0;
#P newex 40 126 19 196617 – 0;
#P newex 19 126 19 196617 – 0;
#P newex 19 82 75 196617 unpack i i i i;
#P comment 128 81 115 196617 do there what you want;
#P connect 12 0 7 0;
#P connect 7 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 6 0;
#P connect 6 0 8 0;
#P connect 8 0 18 0;
#P connect 18 0 10 0;
#P connect 9 0 10 0;
#P fasten 11 0 10 0 107 252 24 252;
#P connect 10 0 13 0;
#P fasten 14 0 2 1 121 120 33 120;
#P connect 18 1 9 0;
#P connect 1 1 3 0;
#P connect 3 0 6 1;
#P fasten 15 0 3 1 159 120 54 120;
#P connect 1 2 4 0;
#P connect 4 0 6 2;
#P fasten 16 0 4 1 196 120 76 120;
#P connect 1 3 5 0;
#P connect 5 0 6 3;
#P fasten 17 0 5 1 233 120 97 120;
#P window clipboard copycount 19;

#105350
May 29, 2007 at 5:19pm

Bit of a difficult thing to do, you cant just scale the whole window and make things fit as each of the objects has there own size etc.
There is a few things that in combination may help:
Firstly You can use Max toolbox to make the gaps between things smaller using the X and Y commands.
You can use thispatcher and the window command to shrink the window to your chosen size using a message like ‘window size 100 100 650 500, window exec’. Though you’ll still have to scroll around within the window.

Hope this gives you some food for thought – there probably is a full solution possible using scripting- but its probably way more trouble that its worth.

The other option is simply to use more sub patchers, bpatchers and pcontrol to create a frontend which will be easily seen on any size monitor- hiding all the crazy big patches behind…

Good luck

T

#105351
May 30, 2007 at 9:01am

actually, I wanted to fit an oversize patch to fit the sreensize. Kind of shrinking the patch to sreensize.

#105352

Anonymous

Anonymous
May 30, 2007 at 9:23am

Click at the green (+) button at the top left of the window??

Am 30.05.2007 um 11:01 schrieb Hans Mittendorf:

>
> actually, I wanted to fit an oversize patch to fit the sreensize.
> Kind of shrinking the patch to sreensize.

#105353

You must be logged in to reply to this topic.