
-----------------------------------
mrnitler
Sun Apr 18, 2010 3:41 pm

Clicker help
-----------------------------------
My mission in all of this is to create a program to click my desktop screen every few minutes
For example:
My desktop resolution is 1200x1200, and I want to click on pixel 800x800 every 3 minutes. 
How would I go about doing that? Help is much appreciated.

-----------------------------------
Euphoracle
Sun Apr 18, 2010 4:39 pm

RE:Clicker help
-----------------------------------
look into java.awt.Robot maybe?

-----------------------------------
mrnitler
Wed Apr 21, 2010 10:20 pm

Re: Clicker help
-----------------------------------
where can i find that?

-----------------------------------
Euphoracle
Wed Apr 21, 2010 10:59 pm

RE:Clicker help
-----------------------------------
[url=http://lmgtfy.com/?q=java.awt.Robot]http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html

-----------------------------------
Barbarrosa
Thu Apr 22, 2010 7:56 pm

Re: Clicker help
-----------------------------------
I recommend Robot and MouseInfo (just google "java (Class/Interface)"). Don't forget to add a stopping mechanism, like a button or something.

I did 2 similar projects (which are posted in the Java Submissions section) that you may want to look at.

-----------------------------------
andrew.
Thu Apr 22, 2010 9:08 pm

Re: Clicker help
-----------------------------------
Look into Robot. Here is an example: 
   import java.awt.Robot;
   import java.awt.event.InputEvent;
   import java.awt.AWTException;

    public class RobotTest2
   {
       public static void main(String 

That should work.
