Hi guys i have question
i want to move my cursor to specific coordinates without using mousemove. i want to move my cursor to that specific coordinates with using _WinAPI_Mouse_Event
while 1
;$head_search=PixelSearch( 0, 0, 800, 600,0x967B72,10)
$head_search=PixelSearch( 0, 0, 800, 600,0x00F7FF,10)
if not @error then
global $aPos = MouseGetPos()
$aimx = $aPos[0] - $head_search[0]
$aimy = $aPos[1] - $head_search[1]
_WinAPI_Mouse_Event($MOUSEEVENTF_MOVE , $aimx , $aimy )
EndIf
sleep (5)
WEnd
i wrote this but it doesnt work can anyone help me plz ? how i can replace _WinAPI_Mouse_Event with specific coordinates acoording to the code.
help me plz i need it so much