Code:
#include <GUIConstants.au3>
#include <array.au3>
#include <ListViewConstants.au3>
#include <GuiListView.au3>
#include <nomadmemory.au3>
$wintitles="Element Client"
$AppBaseAddress=10229012
$pid=wingetprocess($wintitles)
$mid2= _memoryopen($pid)
global $moveactionplus[6]
$moveactionplus[1]=32
$moveactionplus[2]=4064 ;actionstruct
$moveactionplus[3]=48 ;actionlist
$moveactionplus[4]=4 ;moveaction
$moveactionplus[5]="fillme"
global $moveaction[5]
$moveaction[1]=32
$moveaction[2]=4064 ;actionstruct
$moveaction[3]=48 ;actionlist
$moveaction[4]=4 ;moveaction
global $actionstructplus[4]
$actionstructplus[1]=32
$actionstructplus[2]=4064 ;actionstruct
$actionstructplus[3]="fillme" ;actionstruct
GuiCreate("Move value Checkers", 250, 250)
$msg=0
GuiSetState()
$LABEL_X_STATUS = GUICtrlCreateLabel("X :", 5, 5, 100, 20)
$LaBEL_X_value=GUICtrlCreateLabel("-", 105, 5, 100, 20)
$LABEL_Y_STATUS = GUICtrlCreateLabel("Y :", 5, 25, 100, 20)
$LaBEL_Y_value=GUICtrlCreateLabel("-", 105, 25, 100, 20)
$LABEL_z_STATUS = GUICtrlCreateLabel("Z :", 5, 45, 100, 20)
$LaBEL_z_value=GUICtrlCreateLabel("-", 105, 45, 100, 20)
;this is the move to x,y
$x=401
$y=550
movexyz()
;this loop is just for monitoring the x,y,z value
While $msg <> $GUI_EVENT_CLOSE
$msg = GuiGetMsg()
$moveactionplus[5]=0x20
$movetox = _MEMORYPOINTERREAD($APPBASEADDRESS, $mid2, $moveactionplus,"float")
GUICtrlSetData($LABEL_x_value, Round(($MOVETOX[1] + 4000) / 10, 2))
$moveactionplus[5]=0x24
$movetoy = _MEMORYPOINTERREAD($APPBASEADDRESS, $mid2, $moveactionplus,"float")
GUICtrlSetData($LABEL_y_value, Round(($MOVETOy[1] + 5500) / 10, 2))
$moveactionplus[5]=0x28
$movetoz = _MEMORYPOINTERREAD($APPBASEADDRESS, $mid2, $moveactionplus,"float")
GUICtrlSetData($LABEL_z_value, Round(($MOVETOz[1]) / 10, 1))
WEnd
func movexyz()
$moveactionplus[5]=0x8
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,0)
$moveactionplus[5]=0x14
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,1)
$moveactionplus[5]=0x20
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$x,"float")
$moveactionplus[5]=0x24
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,$y,"float")
$moveactionplus[5]=0x2c
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $moveactionplus,0)
$moveactionvalue=_memorypointerread($APPBASEADDRESS, $mid2, $moveaction)
$actionstructplus[3]=0xc ;actionstruct
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,$moveactionvalue[1])
$actionstructplus[3]=0x18 ;actionstruct
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,1)
$moveactionvalue=_memorypointerread($APPBASEADDRESS, $mid2, $moveaction)
$actionstructplus[3]=0x14 ;actionstruct
_MEMORYPOINTERWRITE($APPBASEADDRESS, $mid2, $actionstructplus,$moveactionvalue[1])
endfunc