Results 1 to 3 of 3
  1. #1
    davetheant is offline Member
    Join Date
    Sep 2010
    Posts
    47
    Rep Power
    0

    Default Help with Robot class please

    Hello everyone. I am using the Robot class to do some tasks (simple macros), but for one part of my code I have a click-and-drag which doesn't ever work. I am pretty sure it is because the mouse moves way too fast with the mouseMove(int x, int y) method. Is there any way to control the speed of the mouse (without like slowing it down manually by having it move two pixels at a time or something)? Thanks in advance.

  2. #2
    cc11rocks is offline Member
    Join Date
    Jan 2011
    Posts
    49
    Rep Power
    0

    Default

    If you used the macro-program Autohotkey, you could do this easily. If you are interested, I could write it for you.
    Happy coding,
    cc11rocks

  3. #3
    davetheant is offline Member
    Join Date
    Sep 2010
    Posts
    47
    Rep Power
    0

    Default

    Thanks for the offer, but I think it has to be done in Java. The macro is associated with the AI I had to include, and from what I remember, AHK is just strictly a macro writing program.

Similar Threads

  1. Robot class
    By coltragon in forum New To Java
    Replies: 6
    Last Post: 07-12-2010, 05:54 PM
  2. Help with Robot Class
    By protocos in forum Eclipse
    Replies: 11
    Last Post: 10-05-2009, 08:15 PM
  3. Newbie - Robot Class
    By drasgear in forum New To Java
    Replies: 2
    Last Post: 11-14-2008, 04:46 PM
  4. Robot Class
    By Jessie Madman in forum New To Java
    Replies: 3
    Last Post: 05-15-2008, 04:13 AM
  5. Robot Class
    By jfredrickson in forum New To Java
    Replies: 2
    Last Post: 07-11-2007, 09:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •