Question

I am thinking to make a simple robot app which would record all movements and clicks done by the use and then repeat them.

I can do that with a glasspane but my question is, would a GlassPane work if I tried to use the program while in a game? For example, world of warcraft since bots are popular in MMO's, what else could I use?

I know of mouse hooks, which based on c++ I think, but I do not know how to use them in java. If that is the only way, can someone give me direction to an understandable document regarding using mouse hooks?

Thank you very much.

Was it helpful?

Solution 2

After a lot of searching and I know a lot of people have looked for this, that is why I am posting so they can also see, I found a perfect library for this, you can find it at :

https://code.google.com/p/jnativehook/

OTHER TIPS

Check out Global Event Listeners for an easy way to listen for all events in your application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top