Mouse control problem

wiccy's icon

I am looking for solution to stimulate mouse's behavior. For example. I can type in the coordinate in order to move the mouse, and use other signal to trigger mouse click.

Please, does anyone know how to do that? I found the object "mousestate' but I want the exact opposite.

Many thanks
Yang

Luke Hall's icon

You can update the position of the cursor with a "; max pupdate x y" message where x and y are the screen co-ordinates. You might also want to look in to the autobot java class which gives you more control.

wiccy's icon

Thank you so much Luke.
That really helps