Wingfat
Joined: 23 Aug 2004 Posts: 193 Location: East Bay, California USA
|
Posted: Mon Aug 23, 2004 10:12 pm Post subject: mosuse postion |
|
|
I noticed that there was a mouse postion thing in the help for this program, but it only shows the postion when you run it and not when you move it around. So i changed it up alittle to report the Postion the whole time. It has made my scripting much easier for me.
[code]
MouseGetPos, xpos, ypos
Msgbox, The cursor is at X%xpos% Y%ypos%.
; This example allows you to move the mouse around to see
; the postion of said pointer
#Persistent
SetTimer, WatchCursor, 100
return
WatchCursor:
MouseGetPos, xpos, ypos,
ToolTip, x%xpos% Y%ypos%
return |
|