Jump to content

Recommended Posts

Posted (edited)

hi everyone.My problem with random coords.i need Click a random coord,if pixel found click pixel and click first coord again.

Func Coord()
    $wintitle="MozillaFirefox"
$Pixel=PixelSearch(0,0,1000,500,0xFFFFFF)
$coordx = Int(Random($minx, $maxx))
$coordy = Int(Random($miny, $maxy))
        ControlClick($wintitle, "", "", "left", 1, $coordx, $coordy)
        If isarray($Pixel)=True Then
            MouseClick("left",$Pixel[0],$Pixel[1],1,1)
        EndIf
; MOUSE CLİCK FİRST COORDS.

Thanks to all reader

does anyone know this, pls?

Edited by Loken

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...