Results 1 to 4 of 4

Thread: left click mouse??

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    3

    Question

    I am trying to make a program where every once in a while the mouse will move to a certain spot on the screen, and then click there. I used SetCursorPos to move the mouse to the coordinates that i want, but i cant figure out how to simulate a mouse click. Please help. I need to know what to put in declarations, and the code to click. thanks a bunch in advance!!

  2. #2
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330

    Cool try this

    go to this site. its all about mouse event function with the API. Hope this helps

    http://www.vbapi.com/ref/m/mouse_event.html
    Matt

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Posts
    3

    Wink

    Thank You so much!!! You dont know how happy I am to get this to work. Now I can have my program finished by today!! That code works great! I was trying to use send message and it just wasn't working. But now it runs smooth as ever

  4. #4
    Addicted Member
    Join Date
    May 2000
    Location
    Grand Rapids, MI
    Posts
    231

    Talking I think I know why you need that

    You probally using AllAdvantage or some other make money for seeing advertizement, or make money while browsing thing, and you just wana keep it on overnight, sometimes that works sometimes it doesnt. But hey good luck.
    -Karl Blessing aka kb244{fastHACK}
    [email protected]

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