Jump to content

Recommended Posts

Posted

Func Ml()

Do

$d = $d + 128

sleep(500)

$t = PixelSearch($d - 128, 366,$d + 128,1024,0xff0000,0,2); =======> search First color

If Not @error Then

$z = MouseMove($t[0],$t[1],2)

EndIf

Until $d = 1280

EndFunc

Func ms()

$f = 0

do

$f = $f

$C = MouseGetPos()

$co = PixelSearch($c[0] - 25, $c[1] - 25, $c[0] + 25, $c[1] + 25,0xffff00,0,2) ; ======> Search Mouse Color

if not @error Then

sleep(250)

MouseClick("left", $co[0], $co[1], 2)

Endif

Until Not @error

EndFunc

I want To do this But How ?

Search First Color then Search mouse Color

If Mouse Color Not found Continue to serach First color

If Mouse color Found Click After Mose Color not Found then Search first Color Again

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...