Need help with a macro you are writing? Ask here!
Moderator: MacroQuest Developers
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Mon Nov 15, 2004 3:44 pm
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.
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Nov 15, 2004 3:52 pm
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.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
fice
- a hill giant

- Posts: 187
- Joined: Thu Jul 17, 2003 3:28 pm
Post
by fice » Mon Nov 15, 2004 4:08 pm
/mouseto x y
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Mon Nov 15, 2004 4:22 pm
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.
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Mon Nov 15, 2004 4:31 pm
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.
Last edited by
fearless on Mon Nov 15, 2004 4:40 pm, edited 1 time in total.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
mekaniak
- a hill giant

- Posts: 290
- Joined: Thu Sep 18, 2003 3:21 pm
Post
by mekaniak » Mon Nov 15, 2004 4:37 pm
thank you fearless. i did skim the manual but not good enough i guess. Thanks for the quick responses
I love the Power Glove, it's so bad
Say hello to M.C. Smurf!
[quote]<mekaniak> adios guys.
<dont_know_at_all> idiot
* mekaniak is now known as mekaniak_dinner
<Jacensolo> me?
<dont_know_at_all> not this time
[/quote]
[quote]
<dont_know_at_all> A_Enchanter_00, how the fuck should i know? it's your code[/quote]
I love quoting IRC chat.