(02-08-2015, 01:11 PM)safar46 Wrote: Try to use Control Viewer
http://www.autoitscript.com/forum/topic/...info-tool/
This seems to work quite well. Thank you for the link.
(02-08-2015, 10:19 PM)Henk500 Wrote: for coordinates i use this autoit script...iim not sure these are correct coordinates in game..
Code:
#AutoIt3Wrapper_UseX64=n
; Set the Escape hotkey to terminate the script.
HotKeySet("{ESC}", "_Terminate")
Example()
Func Example()
; Initialize a Local variable.
Local $aMgp = 0
; Create an endless loop, 1 will always be 1 therefore True.
While 1
; Assign a Local variable the coords of the cursor (array).
$aMgp = MouseGetPos()
; Display a tooltip near the cursor with its coords.
ToolTip("x: " & $aMgp[0] & ", y: " & $aMgp[1], $aMgp[0] + 10, $aMgp[1] + 10)
; Avoid high CPU usage.
Sleep(50)
WEnd
EndFunc ;==>Example
Func _Terminate()
Exit
EndFunc ;==>_Terminate
@Henk500 - I think your coordinates will be off a bit if you don't take into account the window borders. That is what getBSPos() and FindPos() are doing.