Britbadboy Posted April 4, 2005 Posted April 4, 2005 Hi, well I have just downloaded and installed AutoIt on my PC and discovered this time we don't have a mouse mapper with the program like the previous time. Does anyone knows how can I plot my mouse co-ordinated without it? in other words am I being silly and missing the obvious i.e. there is a mapper but I can't simply find it or can someone tell me a program or something which I can use to plot my co-ordinates? Regards.
buzz44 Posted April 4, 2005 Posted April 4, 2005 (edited) Well I have only known AutoIt v3 and am unfamiliar with previous versions, but I think you mean something like this...$MousePos = MouseGetPos() MsgBox(0,"Co-ordinates","X: " & $MousePos[0] & @CRLF & "Y: " & $MousePos[1])Edit: There are many other mouse functions aswell including- MouseMove()- MouseClick()- MouseUp()- MouseDown()Edit2: I think this might interest you as well...http://www.autoitscript.com/forum/index.php?showtopic=9796and this script can be very helpful, picked it up from another forum member.Opt("TrayIconHide", 1) HotKeySet ("{ESC}", "MyExit") HotKeySet ("{PAUSE}", "Clip") While 1 Sleep(10) $Pos= MouseGetPos () $Color= PixelGetColor ($Pos[0], $Pos[1]) $Hexit= Hex ($Color, 6) ToolTip ("X: " & $Pos[0] & " " & "Y: " & $Pos[1] & @LF & "RGB Color under mouse: 0x" & $Hexit & @LF & "Decimal : " & $Color, $Pos[0] + 10, $Pos[1] + 10) WEnd Func Clip () ClipPut ("The color at" & " " & "X: " & $pos[0] & " and" & " " & "Y: " & $pos[1] & " " & "is" & " RGB: " & "0x" & $hexit & " Decimal: " & $color) EndFunc Func MyExit () Exit EndFunc Edited April 4, 2005 by burrup qq
MHz Posted April 4, 2005 Posted April 4, 2005 Maybe wanting AutoIt Window Info ? This tool is in the StartMenu -> Programs -> Autoit v3 -> AutoIt Window Info. It was renamed to save contraversy.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now