Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!
Moderator: MacroQuest Developers
-
python023
- a lesser mummy

- Posts: 30
- Joined: Sat Mar 27, 2004 12:26 pm
Post
by python023 » Thu Apr 22, 2004 6:18 pm
I was wondering how to find the X and Y position of the mouse on screen in the new MQ2Data form.
in the old parm system, it was like this:
How do you change that to the new system?
thank you
python[/code]
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Apr 22, 2004 8:46 pm
you dont :)
May I ask what it's necessary for?
-
python023
- a lesser mummy

- Posts: 30
- Joined: Sat Mar 27, 2004 12:26 pm
Post
by python023 » Thu Apr 22, 2004 8:59 pm
hmm...seems when i type /echo $mouse(x), it just says $mouse(x),it doesnt give the number like it used to.
I am trying to open all the bags in my inventory, but to do that i use /click posx posy
I am trying to check and make sure my inventory is positioned properly so that when it makes the clicks at those positions my bags are all there and open up properly.
Any suggestions?
ty
python
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Apr 22, 2004 9:05 pm
yes heres a suggestion, quit using /click x,y. there are systems in place that work for any and all positions

-
python023
- a lesser mummy

- Posts: 30
- Joined: Sat Mar 27, 2004 12:26 pm
Post
by python023 » Thu Apr 22, 2004 9:11 pm
Hehe well im rather sort of a newbie
Could you possibly give me a link or an explanation of how i can open all the bags in my inventory?
I dont understand exactly what you mean by "different systems" lax.
thank you
python
-
Preocts
- a snow griffon

- Posts: 312
- Joined: Thu Jan 29, 2004 1:02 pm
Post
by Preocts » Thu Apr 22, 2004 9:17 pm
Code: Select all
/declare TempLoop local
/for TempLoop 22 to 29
/if (${FindItem[${InvSlot[@TempLoop].Item}].Container}) {
/if (${Window[${InvSlot[@TempLoop].Name}].Open}) {
/itemnotify @TempLoop rightmouseup
/delay 1
}
}
/next TempLoop
Wrap your mind around that and start reading the freaken boards.
-
Lax
- We're not worthy!

- Posts: 3524
- Joined: Thu Oct 17, 2002 1:01 pm
- Location: ISBoxer
-
Contact:
Post
by Lax » Thu Apr 22, 2004 9:27 pm
I wouldnt expect you to know its slots 22-29, and you most certainly dont need to use FindItem to get an item you already got.. I simplified his stuff for you
Code: Select all
/declare TempLoop local
/for TempLoop 1 to 8
/if (${InvSlot[pack@TempLoop].Item.Container}) {
/if (${Window[pack@TempLoop].Open}==false) {
/itemnotify pack@TempLoop rightmouseup
/delay 1
}
}
/next TempLoop
-
python023
- a lesser mummy

- Posts: 30
- Joined: Sat Mar 27, 2004 12:26 pm
Post
by python023 » Thu Apr 22, 2004 9:31 pm
OK Thank you Lax and Preocts!