Results 1 to 10 of 10

Thread: Auto-clicker possible?

Threaded View

  1. #4
    Frenzied Member sciguyryan's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,763

    Re: Auto-clicker possible?

    OOPs, sorry

    Replace this:

    VB Code:
    1. mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0&, 0&

    With this:

    VB Code:
    1. mouse_event MOUSEEVENTF_LEFTDOWN, 0&, 0&, 0&, 0&
    2. mouse_event MOUSEEVENTF_LEFTUP, 0&, 0&, 0&, 0&

    And that should fix it.

    Now, all you have to do is put that in the Timer_Timer event and then set its interval to 10 and it should be done Be warned, this could cause problems as the mouse will litrerlaly be clicking nearly all the time. (Every 100th of a second to be exact)

    EDIT: Edited the code, just to be shure

    Cheers,

    RyanJ
    Last edited by sciguyryan; May 15th, 2005 at 06:36 PM.
    My Blog.

    Ryan Jones.

Posting Permissions

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



Click Here to Expand Forum to Full Width