• Log in or sign up for an account here: https://www.sythe.org/login

Cursor Position Finder - For macros

Govind

The One Musketeer

Highly Respected
Mudkips
Retired Administrator
Joined
Apr 22, 2005
Sythe Gold
23
Messages
7,825
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
http://www.uploadyour.info/download.php?filename=showmousepos56358.exe

I made this for people coding mouse macros but are unsure what mouse coords to put. This wasn't made in VB, but since most of our coders are too... um... lazy to use real languages I'll post it here in the VB section.

Press Alt+U to update the cursor position.

I'll work on one that lets you target specific windows and get the mouse position of that windows only (like the runescape applet window). For now this is all I have though.
 
Le Monkey
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
Code:
void CShowMousePosDlg::OnUpdate() 
{
    char coordtext[20];
    POINT *p = new POINT;
    GetCursorPos(p);
    UpdateData();    
    _itoa(p->x,coordtext,10);
    GetDlgItem(IDC_EDIT1)->SetWindowText(coordtext);
    _itoa(p->y,coordtext,10);
    GetDlgItem(IDC_EDIT2)->SetWindowText(coordtext);
    delete p;
}
That's just 1 function.

But that's beside the point, VB vs. C++ is a debate for another thread. (Which you guys can feel free to create, and I look forward to debating there :P)

Please only post feedback about the app .
 
Runescape Gamblingrunescape gambling
Back
Top