Kolis Posted July 31, 2018 Posted July 31, 2018 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
FrancescoDiMuro Posted July 31, 2018 Posted July 31, 2018 Hi @Kolis, and eelcome to the AutoIt forum What did you try so far? Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
AutoBert Posted July 31, 2018 Posted July 31, 2018 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.
Kolis Posted July 31, 2018 Author Posted July 31, 2018 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now