Sign in to follow this  
Followers 0
Britbadboy

Auto IT's new version

3 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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=9796

and 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 by burrup

[u]Old Projects:[/u]A3MORGB2Hex[u]Old Functions:[/u]_TimeAdd/_TimeSub_AddComma_BubbleSort _RippleSort "He who does not understand your silence will probably not understand your words." - Elbert Hubbard.

Share this post


Link to post
Share on other sites

Maybe wanting AutoIt Window Info ?

This tool is in the StartMenu -> Programs -> Autoit v3 -> AutoIt Window Info.

It was renamed to save contraversy.

:)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0