Scripting and presentation size

jamesson's icon

Howdy folks, sorry I been away for a second, out on some family business.

Is it possible to use thispatcher scripting to manipulate an object's size and position in presentation mode?

Many thanks in advance

joe

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

No need for thispatcher. You can just use the presentation_rect attribute.

jamesson's icon

Okie sweet ty

jamesson's icon

Can we do this for all attributes visible in the inspector? Are there any attributes not listed in the inspector? How do I look at the proper format for attributes in messages other than opening the patcher as text?

Wouldn't it be nice if there were a submenu on the left inlet for common box properties?

José Andrés Medina Ochoa's icon

or this way:

( script sendbox varname presentation_rect X. Y. W. H. )
|
[ thispatcher ]

where "varname" is the scripting name,
X & Y is the position in presentation mode and
W & H is the Width and Height...