how to use image search area!! help.

12/12/2009 02:31 khoitran2293#1
Func _ImageSearchArea($findImage,$resultPosition,$x1,$y 1,$right,$bottom,ByRef $x, ByRef $y, $tolerance)




Someone explain each variable to me please. Especially the 2 coordinate variables that determines which area it searches in specifically.
12/12/2009 02:32 Halfslashed#2
Search. Function.
12/12/2009 06:07 khoitran2293#3
Quote:
Originally Posted by Halfslashed View Post
Search. Function.
explain what i should input for the variables please , that wasn't very helpful
And i believe it's an additional function added to Autoit, so therefore it wouldn't be in the instruction manual.
12/12/2009 06:14 Halfslashed#4
I don't know, sorry. I've never used AU3 before...
12/12/2009 15:33 Theri#5
There's a pick up bot that makes use of the function, search the forums for it and look at their code and read the thread as there's a little bit of discussion on the function that may help you.
12/13/2009 16:41 tuxx95#6
Quote:
Originally Posted by khoitran2293 View Post
Func _ImageSearchArea($findImage,$resultPosition,$x1,$y 1,$right,$bottom,ByRef $x, ByRef $y, $tolerance)




Someone explain each variable to me please. Especially the 2 coordinate variables that determines which area it searches in specifically.
$findImage=the image,$resultPosition=were the mouse goes,$x1=outputx,$y1=outputy,{$right,$bottom,ByRef $x, ByRef $y}=the area u want to search in, $tolerance= self-explanatory
12/13/2009 18:00 khoitran2293#7
Quote:
Originally Posted by tuxx95 View Post
$findImage=the image,$resultPosition=were the mouse goes,$x1=outputx,$y1=outputy,{$right,$bottom,ByRef $x, ByRef $y}=the area u want to search in, $tolerance= self-explanatory
{$right,$bottom,ByRef $x, ByRef $y}=the area u want to search in,



I know that height x width is area but how would this work.

What should I input for $right and $ bottem

and the Byref $x and Byref $y , what does that mean ?
12/13/2009 18:49 Alexzander22#8
my best friend for auto it even to date is the help file you should read it
it also gives examples int he help file

and off the top of my head thoes functions look more like AHK then autoit
12/13/2009 19:03 khoitran2293#9
Quote:
Originally Posted by Alexzander22 View Post
my best friend for auto it even to date is the help file you should read it
it also gives examples int he help file

and off the top of my head thoes functions look more like AHK then autoit
The search function is an added function to Autoit i believe so any help wouldn't be in the help file.