Screen Coordinates

Posts 1–6 of 6 · Page 1 of 1
Ok so i am making a bot that uses SetCursorPos() function to put the mouse at a coordinate and click. The problem is, i don't know how to find the EXACT coordinate. Is there a way to find coordinates other than gluing graph paper to my screen, lol.

nevermind, solved, i was so stupid.
Can you share your solution. Am interested, one way I think you can do is get hypercam, and when you select the screen area to record if shows your points.
POINT mP;
GetCursorPos(&mP);

I believe
thanks hd, got it. just put it in an infinite loop and Sleep(5000); and ur good to go. lol.
Thanks HD.
Quote Originally Posted by 258456 View Post
thanks hd, got it. just put it in an infinite loop and Sleep(5000); and ur good to go. lol.
Thanks HD.
A better idea:

Code:
while(1){
if(GetAsyncKeyState(VK_RBUTTON)){
 POINT mP;
GetCursorPos(&mP);
cout<<"X poss: "<<mP.x<<" Y poss: "<<mP.y<<endl;
}
Sleep(100);
}
or that. i made mine left click
thanks schim, too bad ur other account got banned
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us