Quote:
Originally Posted by Shishidump
Code:
While True
If Not $stop then
$Get = PixelSearch(left, top, right, bottom, the special Red color with 0x)
If not @error Then
Mousemove($Get[0], $Get[1])
EndIf
EndIf
WEnd
This is nearly everything youll need.
Now create a easy gui and setup the buttons and the PixelSearch datas.
Hf
Edit:// A bit to slow hehe 
|
A little more help?
I got this:
Code:
While True
If Not $stop then
$Get = PixelSearch(0, 0, 20, 300, 0xFF0000, 10)
If not @error Then
Mousemove($Get[0], $Get[1])
EndIf
EndIf
WEnd
And it says:
Line 2 (File "C:\Users\*********\Desktop\Au3\Test.exe"):
Error: Variable used without being declared.
I want the variation of this code to be:
If Button=On
Find Red Pixel 0xFF0000 with 10 Shades of Variation
If found
Move Mouse to red(Make that red thing the center/crosshair)
Cut Pixelsearch in half(as in slash the focus, the find coordinates in half. So it can block out other red.
For example
Before:
After
The green is the focus of the pixelsearch
YOU ARE AWESOME! I KNOW U CAN DO IT