Korax_ole wrote on Tue, 31 March 2009 15:47hello everyone,
does anybody know if there is a method of simulating the actions of a pc mouse in max? actually the question is if i can simulate a "click and drag" action in max 5 without a mouse!!!
thanx in advance.
You might look at this thread which uses java within Max to simulate clicks, drags, etc. Can't do a click with ordinary Max objects AFAIK; on Mac there's aka.mouse objects to do this, or there's this thread with a bit of java to do it. also as said, there's ; max pupdate to move the mouse.
The [key] object will only respond if a max window is the active one (active app). However, the java one will work with any app active, as will using [hi] if your keyboard is seen by the object. Look into the [hi] help file to go that route.
here's the java one which does pretty much everything. You really need to be sure everything you're working on is saved before you set metros and things to move and click automatically, you can wind up doing some unexpected things (and by that I mean bad things). Also if you send keystrokes, that's fine and interesting to try, just don't hold the control-key down while it's going
look for the "autobot.zip" file way at the bottom.