Java MouseClicker - Automated mouse movement and clicking tool

I needed a simple tool to automate mouse movements and delays on my PC. I like playing with Java so i wrote a simple one in a few hours.

Its a really simplistic app and it might have some bugs so please be understanding :-) But i could not find any free tool that would do exactly what i wanted to i thought i could share it to the public. Maybe someone will find it useful.

If you like it and want to modify it for your needs i think i might send you source code.

Setting up mouse control sequence

So to see mouse position click on track button, you can stop tracking if you are done. Then you move mouse where you want on the screen and write down location. Then write up a script like this:

MOVE:1000:750
LEFT_CLK
WAIT:1
LEFT_CLK
MOVE:680:90
LEFT_CLK
MOVE:1140:90
LEFT_CLK
MOVE:465:595
LEFT_CLK
WAIT:25
MOVE:650:840
LEFT_CLK
WAIT:5
LEFT_CLK
WAIT:10
LEFT_CLK
WAIT:10
LEFT_CLK
WAIT:15

You put how many times you need to repeat the sequence and hit play. This will begin the mouse movement record playback.

Available commands

  • LEFT_CLK
    • left click in current mouse location
  • WAIT:XXXX
    • wait for XXXX seconds
  • MOVE:XX:YY
    • move mouse pointer to XX and YY pixels from top left screen edge

Screenshot

MouseClicker

Terms of use

You can use it free of charge.

Once again, its a super simple application put together in a few hours so dont get your hopes up and dont complain its not what you want :- ) if it is what you want .. enjoy! :- )

Download mouse clicker app

Comments

Sorry man, It was such long

Sorry man, It was such long time since i wrote it. Must have been lost somewhere during laptop migrations :-(

If it helps i think i used Robot java classes, docs can be found here:

http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Robot.html

hope it helps

Cheers

2011-07-04 05:35
admin

Hey nice one, I was thinking

Hey nice one,

I was thinking of some small java program and I really got an idea after seeing your program.
Is it possible for you to give me the source code of this program. I'm new in Java so I would love to learn from your apps.

regards
whichway

2011-06-30 22:01
whichway

Post new comment

Image CAPTCHA