Click to See Complete Forum and Search --> : left click mouse??
snickers
Jun 19th, 2000, 12:28 AM
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!!
MPrestonf12
Jun 19th, 2000, 09:43 PM
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
snickers
Jun 19th, 2000, 11:58 PM
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
kb244
Jun 20th, 2000, 12:17 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.