Page 1 of 1
mouse position
Posted: Mon Nov 15, 2004 3:44 pm
by mekaniak
I looked through the manual breifly, but couldnt find it...I remember there was a way to find the mouse position on the screen in an x,y coordinate but I cant find out how to do it with mq2. Any help is appreciated.
Posted: Mon Nov 15, 2004 3:52 pm
by fearless
If you are trying to click a button in a box ie trade window / bank / tradeskill container you can now access the xml and press the button automagically, no need to worry about the x/y of the mouse. If you are looking for something else, yes you can do it but I am not sure how.
Posted: Mon Nov 15, 2004 4:08 pm
by fice
/mouseto x y
Posted: Mon Nov 15, 2004 4:22 pm
by mekaniak
i know how to get my mouse to a position, but im looking for like an echo of the coordinates that its at. Like maybe a /mousepos that gives me the current mouse position.
I did know about the button thing fearless, thanks though.
Posted: Mon Nov 15, 2004 4:31 pm
by fearless
I went to the fine manual at
http://www.macroquest2.com/includes/wassup/manual.php , hit ctrl - f and typed "mouse" in the search box. Click on find about 30 times and you find . . .
int MouseX --> Mouse's x location
int MouseY --> Mouse's y location
More details can be found about it there.
EDIT: to fix link and to note that if you search for mousex on the forums you will come up with a short list of examples on how to use it.
Posted: Mon Nov 15, 2004 4:37 pm
by mekaniak
thank you fearless. i did skim the manual but not good enough i guess. Thanks for the quick responses