Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Image Search Problems

$
0
0
Hello,

I recently followed the following Image Search tutorial;

I followed it to the letter, using the iTunes logo on my desktop as the picture. But, after finishing and pressing the hotkey, the macro does nothing. I have the ImageSearch.au3 in the folder as well as the DLL and picture of the icon. Here is my code;

[ autoit ]      
#include HotKeySet("{F4}", "Start") $X = 0 $Y = 0 Func Start() $Search = _ImageSearch('Rare.bmp',0,$X,$Y,0) If $Search = 1 Then MouseMove($X, $Y, 10) EndIf EndFunc while 1 sleep(100) WEnd

Any help as to why this is not working would be greatly appreciated. I have tried turning the transparency up, but had no luck. Thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>