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

Mar 15, 2007 at 7:43pm

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

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

#30842
Mar 15, 2007 at 8:13pm

jitter question! mods! mods!!

#99209
Mar 15, 2007 at 10:16pm

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;

#99210
Mar 15, 2007 at 11:06pm

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

#99211
Mar 15, 2007 at 11:26pm

mods!! mods!!!!

#99212
Mar 19, 2007 at 8:19pm

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

#99213

You must be logged in to reply to this topic.