Jump to content

Recommended Posts

Posted

Hi,

I want to change settings about scan pixel(picture..) is that posible??? Now is it from top to bottom I want to edit that :)  

Posted

If you are using PixelSearch you can't change, if you use a slower own method with PixelGetColor and loops you can: just look in help how to reverse your loops.

Posted

 I have this simple program what search for image but i want to make it search from middle to corners NO from top to bottom. @FrancescoDiMuro

#include <ImageSearch2015.au3>

While 1
    HotKeySet("k", "konec")
    start()
WEnd

Func start()


    $x1 = 0
    $y1 = 0

    $picture = "D:\random\hlavni.png"

    Do

        $result = _ImageSearch($picture, 1, $x1, $y1, 100, 0)
        ConsoleWrite($result)
    Until $result = 1 ;
    If $result = 1 Then
        MouseClick("left", $x1, $y1, 1, 0)

    EndIf

EndFunc   ;==>start

Func konec()
    Exit
EndFunc   ;==>konec

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
×
×
  • Create New...