[Help] Imagesearch function.

01/03/2010 07:46 MoonCros#1
is there any way or mod that i can make npc or certain item's name show up with black background(not transparency) when alt is pressed? cause i'm trying to make a pick up bot and whenever macro try to find image of item such as wool or gold, it failed to find such item because of transparency name background.
01/03/2010 08:18 khoitran2293#2
Change the tolerance of ur search. It will help. can be set up in the image search command
01/03/2010 11:01 MoonCros#3
could you give me example of that?
01/04/2010 06:23 pawntobishop#4
the image search function has these parameters;
ImageSearch("image name",1,x location,y location,tolerance
the last number, the tolerance determines how "exact" an image must be for it to be detected by the function. If you're getting errors with names i suggest using a tolerance of 60-75, that usually works for me.
Hope this helps.
01/18/2010 11:50 annken#5
Quite understandable.
01/19/2010 21:37 sketch56#6
If you look in the ImageSearch au3, there's a transparency label for the image you search for. I should know, I derped all over this function recently.