;max

Bertrand Fraysse's icon

Is it possible to send message to max like, for example

;
max showcursor

;
max hidecursor

from within jsui ?

An other thing. Does anyone have an idea on how to create a sort of [line] within jsui ?
I'm making a 2D interface like pictslider but with random possibilities inside the interface, i'd like to an interpolation between new random positions...

Emmanuel Jourdan's icon

On 21 mai 08, at 03:15, Bertrand Fraysse wrote:

> Is it possible to send message to max like, for example
>
> ;
> max showcursor
>
> ;
> max hidecursor
>
> from within jsui ?

Yes:

max.showcursor();

or

max.hidecursor();

> An other thing. Does anyone have an idea on how to create a sort of
> [line] within jsui ?
> I'm making a 2D interface like pictslider but with random
> possibilities inside the interface, i'd like to an interpolation
> between new random positions...

You might want to have a look to the Task object, calculate an
increment depending on your Task speed/interpolation time, increment
and that's it ;-)

ej