Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 17:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



_ImageSearch

Discussion on _ImageSearch within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 207
Received Thanks: 41
_ImageSearch

ImageSearch is searshing all pixels, but i want this searsh only my, selected area, how do this?
smrodek11 is offline  
Old 04/25/2012, 19:14   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
You have to use _ImageSearchArea(), there are very good tutorials on youtube and google
Freddy​ is offline  
Old 04/25/2012, 19:41   #3
 
elite*gold: 0
Join Date: Mar 2011
Posts: 207
Received Thanks: 41
Can you say any example of your function? Please :F

Ok, polish guys help me, now **** and close thread :
smrodek11 is offline  
Old 04/25/2012, 20:41   #4
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
I got this from the include file.

Code:
_ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance)
Hope it helps!
Achat is offline  
Old 04/25/2012, 22:22   #5
 
elite*gold: 0
Join Date: Mar 2011
Posts: 207
Received Thanks: 41
Code:
_ImageSearchArea("pathToYourImage",1,x-1,y-1,x-2,-y-2,$x,$y,5)
x-1,y-1 = from xy cords
x-2,-y-2 = to xy cords

This is easiest :P
smrodek11 is offline  
Reply


Similar Threads Similar Threads
[Problem] _Imagesearch will nich :(
11/12/2010 - AutoIt - 7 Replies
Ich wollte mich ein wenig mit der Imagesearch Funktion anfreunden :) Sie klappt soweit auch gut... aber nur wenn ich das Bild öffne :( hier das Script: #include <ImageSearch.au3> #RequireAdmin $x1=0 $y1=0
_ImageSearch
11/02/2010 - AutoIt - 1 Replies
Heyy leute.. Ich bin jettz schon längere zeit dran und versuche Imagesearch zum laufen zu bringen doch irgendwie klappt es nicht.. Ich verwende die version von diesem Post hier : Link Hier mein Code (aus nem beispiel raus kopiert und daran rum probiert): #include <ImageSearch.au3> HotKeySet( "{F1}", "Staaaart" ) HotKeySet( "{F2}", "eeeend" )



All times are GMT +2. The time now is 17:21.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.