I've started playing around with AutoIt and am making an automated Login script that works with League of legends for personal use.
I want to use _ImageSearch() to help with selecting the 'Accept button' during queu but it is a UDF with a .dll file.
I have downloaded the UDF and .dll. I've googled and read that the UDG should go in my scripts directory or in the main /Include directory in Program files, but I am unsure where the .dll file goes.
The rest of my script is working as I want, but will stop if I call _ImageSearch(), and I can only assume this is because It is not accessing the .dll.
Also, I have tried the .dll & UDF in the same directory as my script as well as many other places. I am now out of ideas.
thank you for your help.
Also - I am wanting to use ImageSearch library instead of regular pixel search because pixel search has problems detecting the proper button since the color is similar to the background and the 'Accept" Text is only 1-2 pixels wide and not true white.






and store to some $Color1