Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Invisible Mouse Clicks .Net

Name: Anonymous 2010-01-19 18:30

So I already know how to simulate mouse clicks, but I was wondering if there was a way to simulate a click without the actual cursor. The user can keep moving their mouse while the program simulated mouse clicks somewhere else.
Code in vb.net or C#.net appreciated.

Name: Anonymous 2010-01-19 18:41

super pseudo code, but you get the gist


function click(targetx,targety){
    tempx = GetMouseX();
    tempy = GetMouseY();
   
    SetMouseX(targetx);
    SetMouseY(targety);
   
    ClickMouse();
   
    SetMouseX(tempx);
    SetMouseY(tempy);
}


Something like this should be fast enough that the user won't notice anything.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List