ssamko 0 Posted August 25, 2015 Hello !A few years ago user Sven changed the code of library imagesearch to find pictures with transparency. I dont know why...but this option doesnt work for me.Main treat: https://www.autoitscript.com/forum/topic/102430-imagesearch-reading-from-resources/#comment-727331 When I try to find and image normally without any transparent elements it works normally....but when I add to transparecy option: 0xffffffIt doesnt work...unless my picture has white color on place which I want transparent.Can you help me ? I would be very thankful.Thnx !my code:#include <ImageSearch.au3> HotKeySet("{ESC}", "_End") Global $X=0 Global $Y=0 Sleep(1000) While 1 $Search = _ImageSearch('element.bmp',0,$x,$y,0,0xFFFFFF) If $Search = 1 Then MouseMove($x,$y,1) Sleep(1000) EndIf WEnd Func _End() exit EndFunc+I am adding a file which I am looking(element.bmp) for+library and its DLL ImageSearch.au3 ImageSearchDLL.dll element.bmp Share this post Link to post Share on other sites
wakillon 403 Posted August 30, 2015 Problem is not from your script but from your file : Only gif and png support transparency. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites