Small mouse coord utility macro mouse.mac

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

B0FH
decaying skeleton
decaying skeleton
Posts: 1
Joined: Fri Oct 11, 2002 5:51 pm
Contact:

Small mouse coord utility macro mouse.mac

Post by B0FH » Fri Oct 11, 2002 6:01 pm

I have found this really useful in the creation of my macros. It's a small utility that echos the current mouse pointer position. If you remove the "|" then it will also log the mouse position.

Hope this is useful.

-------------mouse.mac---------------------
Sub Main
/echo Mouse: $mouse(x), $mouse(y)
|/mqlog Mouse Coordinates: $mouse(x), $mouse(y)
/return
------------------------------------------------

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Sun Oct 13, 2002 12:51 am

simple!!

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Sun Oct 13, 2002 7:12 pm

Salutations,
i would just do

Code: Select all

/alias /mousepos /echo Your mouse is currently at $mouse(x),$mouse(y)
then just do /mousepos... yea!

bugcoder
orc pawn
orc pawn
Posts: 26
Joined: Mon Nov 04, 2002 1:11 am

woot

Post by bugcoder » Tue Jan 07, 2003 2:19 pm

Can't believe I didn't think of this before. You ROCK! Don't ask me how I find mouse loc before this :oops: