OOPs, sorry
Replace this:
VB Code:
mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0&, 0&
With this:
VB Code:
mouse_event MOUSEEVENTF_LEFTDOWN, 0&, 0&, 0&, 0& 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 doneBe 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





Reply With Quote