I hope you can help
Now how u see i need help, how i can move the mouse 20 pixel under the variable $pixel1.if IsArray ($pixel1) = True Then
MouseMove ($pixel1 [0], $pixel1 [1], 1)
Move mouse 20 pixel down.
MouseClick ('left')
Thank YOU
0re0
Posted 27 May 2011 - 07:41 PM
Now how u see i need help, how i can move the mouse 20 pixel under the variable $pixel1.if IsArray ($pixel1) = True Then
MouseMove ($pixel1 [0], $pixel1 [1], 1)
Move mouse 20 pixel down.
MouseClick ('left')
Posted 27 May 2011 - 07:49 PM
Posted 27 May 2011 - 07:53 PM
Posted 27 May 2011 - 08:35 PM
Now the programm should use press with left-click on yellow letters, but in presses always (if I move my mouse, too) to the same position with the color$pixel1 = PixelSearch (125, 70, 916, 615, 0xFFFFA0)
While 1
if IsArray ($pixel1) = True Then
MouseMove($pixel1[0], $pixel1[1] + 20 , 1)
MouseClick ('left')
sleep (1000)
EndIf
WEnd
Posted 27 May 2011 - 09:54 PM
Now the programm should use press with left-click on yellow letters, but in presses always (if I move my mouse, too) to the same position with the color
0xF0F4F9 (standart white). What did I wrong?
By MS999
USEFUL LINKS!Forum RulesWinAPIEx.au3 UDF by YashiedGDIP.au3 by Authenticity (An Extension of the GDIPlus.au3 Library)
Posted 28 May 2011 - 02:18 AM
$pixel1 = PixelSearch (125, 70, 916, 615, 0xFFFFA0) While 1 If IsArray ($pixel1) Then MouseClick ("PRIMARY", $pixel1[0], $pixel1[1], 1, 0) Sleep (1000) EndIf WEnd
0 members, 0 guests, 0 anonymous users