Ramin Posted August 3, 2017 Posted August 3, 2017 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
Moderators JLogan3o13 Posted August 3, 2017 Moderators Posted August 3, 2017 @Ramin you still haven't read the forum rules you were pointed to, as this is the exact same code from your previous thread that was closed. Do not post a third time on this subject. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts