Forums > MaxMSP

Moving an object with script offset $1 0 – in presentation mode

February 6, 2012 | 8:47 pm

I have a live.tab object that I’d like to scroll across from one part to another of my patch.

If I have a message object "script offset compact $1 0" connected to a thispatcher object, then the tab (compact) object will happily scroll from side to side if I feed the message object a float number.

But as soon as I switch to presentation mode, the tab object won’t move at all.

I have tried using "script offset compact presentation_rect $1 0" instead, but the object just stops moving altogether, in either mode.

Is it possible to do this in presentation mode?


February 13, 2012 | 10:01 pm

I still can’t figure this out. I’m now trying to resize a panel using "script size w h", which again works fine in patching mode, but I cannot persuade it to work in presentation mode.


February 14, 2012 | 12:02 am
– Pasted Max Patch, click to expand. –

February 14, 2012 | 12:05 am

Alternatively, if you absolutely must use thispatcher for some reason:

– Pasted Max Patch, click to expand. –

February 16, 2012 | 5:17 pm

Great, thanks very much.

And now I’ve discovered what the "drunk" object does too.


July 21, 2014 | 2:50 pm

Hi there,

I take back this old post to know if there’s a way in Max 6 to move an object with script offset in presentation mode ?

The two patches from Mushoo don’t seem to work on Max 6…
For now, I use "script sendbox [scriptname] presentation_rect $1 $1 $3 $4", but it would be way way way easier and cleaner if there was the equivalent of the offset for the presentation mode…

Cheers!


Viewing 6 posts - 1 through 6 (of 6 total)