Any way in max to control system mouse and/or keyboard ?

williamshome's icon

Hi buddies,

I am using max message, hidecursor and pupdate to control the system mouse currently. Do anyone know if there is a way to control mouse clicks and/or keyboard key press so I may control another application from Max ? (I am using a PC)

yours,
William

Falk's icon
yair reshef's icon

i use Autoit scripting for that, it is very powerfull. ppl have writen
aiming bots for FPS with it. basicly you can warp it around any windows
program. creating your own psdo-api. give it a run.

nice link Falk.

williamshome's icon

Thanks for your comments.

But what I really need is a way to control the system cursor and/or keyboard through Max/MSP, e.g. an external or a javascript or any other way ...

yair reshef's icon

try to dismantle the f0.mouse_move abstraction.
http://www.fredrikolofsson.com/
it uses [max pupdate $1 $2] to move the mouse, find more info on that max
command.