Forums > MaxMSP

Scrolling in jit.cellblock (not a jitter question Wally)

March 15, 2007 | 7:43 pm

Is there a way to scroll a jit.cellblock to the cell that is selected
besides running the scroll bars by hand?

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson



_j
March 15, 2007 | 8:13 pm

jitter question! mods! mods!!


March 15, 2007 | 10:16 pm

The not so abundantly documented sync message allows for such a thing. Try this.

_
johan

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 153 250 39 196617 !- 127;
#P message 348 104 85 196617 sync click $2 $1;
#P newex 133 289 119 196617 vexpr int($f1/127*19);
#P newex 133 269 30 196617 pack;
#P user pictslider 133 136 100 100 4 4 4 4 SliderDefaultKnob.pct 0 SliderDefaultBkgnd.pct 0 2163 0 8323072 127 1. 1.;
#P user jit.cellblock 240 129 358 247 3 9 20 20 45 17 0 1 1 0 1 1 1 1 1 0 0 0 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1 0 4 0 0 0;
#P fasten 3 0 4 0 138 315 93 315 93 75 353 75;
#P connect 2 0 3 0;
#P connect 1 0 2 0;
#P connect 5 0 2 1;
#P connect 1 1 5 0;
#P connect 4 0 0 1;
#P window clipboard copycount 6;


March 15, 2007 | 11:06 pm

Just what I needed. Thanks Johan.

On 3/15/07 6:16 PM, "jvkr" wrote:

>
> The not so abundantly documented sync message allows for such a thing. Try
> this.
>
> _
> johan
>
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 153 250 39 196617 !- 127;
> #P message 348 104 85 196617 sync click $2 $1;
> #P newex 133 289 119 196617 vexpr int($f1/127*19);
> #P newex 133 269 30 196617 pack;
> #P user pictslider 133 136 100 100 4 4 4 4 SliderDefaultKnob.pct 0
> SliderDefaultBkgnd.pct 0 2163 0 8323072 127 1. 1.;
> #P user jit.cellblock 240 129 358 247 3 9 20 20 45 17 0 1 1 0 1 1 1 1 1 0 0 0
> 255 255 255 0 0 0 0 0 0 191 191 191 0 0 0 215 215 240 1 1 1 0 4 0 0 0;
> #P fasten 3 0 4 0 138 315 93 315 93 75 353 75;
> #P connect 2 0 3 0;
> #P connect 1 0 2 0;
> #P connect 5 0 2 1;
> #P connect 1 1 5 0;
> #P connect 4 0 0 1;
> #P window clipboard copycount 6;

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson



_j
March 15, 2007 | 11:26 pm

mods!! mods!!!!


March 19, 2007 | 8:19 pm

That is really really cool and could be very useful. Especially with big arrays, one could have the highlighted element appear automatically. Long lists of sample filenames would be much more manageable this way. Thanks for that!

–CJ


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