3 posts in this topic
ImageSearch Dll not working on 32bit
Hello i got problem with ImageSearchDll.dll
It works for me perfect always I made program which one use a lot of ImageSearch funcs on 64bit.
I got 64bit and i copied to c:/Windows - ImageSearchDll.dll 64bit version
But I encountered some friends got 32bit OS and then if I compile program for 32bit then they put ImageSearchDll.dll 32bit ver on windows dir and program crash when function is call.
it happens always :/
How to run this func on 32bit?
ImageSearch and MouseDrag in background window
I saw a couple topics about both mousedrag and imagesearch in background or minimized window, but none of them has the solution, and they were old topics.
So I wanted to ask whether there is a way to mouse drag without the cursor to move, (I want to use mouse when mousedrag is working on a window). I don't know whether I can mix ControlMove with some other stuff or any other way?
And also for the image search, is there any way to search for image (or pixel) in a background or minimized window? I thought maybe there is a au3 or dll or ... file for doing this.
Another question I have: Any way to pinch zoom (two fingers) a window like "windows photo viewer" to zoom in or out? I saw something almost the same here, but not what I want.
I appreciate it.
_ImageSearch with $transparency
Does anyone have experience with transparency on _ImageSearch? The code attached finds the image "base.bmp" but at position 0,0 not near the center of the screen as it appears. My goal is to find the Big Blue "G" regardless of the background. I have not yet found the base image, so I have not tested changing the background. Do you have to use image formats that support transparency? If so, how would you capture the image from within autoit code and set the transparency color?
ImageSearch Script Closing w/ Error
I am back once again to ask for assistance. I am just trying to fool around with the "ImageSearch" function in order to detect when certain elements appear on my active window to then respond to. To begin testing this I simply cut out a small segment of my background, saved it as a BMP, and used that as the bmp for the search function. I had hoped for it to just run through quickly and say it found it and spit out the X Y coords of where it was found. Instead I am getting this : http://screencast.com/t/MD9aOzPhETE
Here's my script thus far :
#Include <msgBoxConstants.au3> #Include <ImageSearch.au3> global $x = 0 global $y = 0 CheckForImage () Func checkForImage () Local $Search = _ImageSearchArea ('ninjaCheck.bmp', 1, 0, 0, 1366, 768, $x, $y, 100) If $Search = 1 Then MsgBox ($IDOK,"Found",$resultPosition) EndIf EndFunc While 1 Sleep (10) WEnd What I would like assistance with is how do I "Debug" this in order to see where/why it is failing.
I've reviewed https://www.autoitscript.com/wiki/FAQ#How_can_I_debug_my_script.3F but I am not entirely sure how to apply the information. If I could get a return on "Hey, this Func or This Line is where I died" , that would be awesome.
Any suggestions on how I can tackle this issue?
Thank you for your time!
checkNinja.bmp is " " around it now and it has the same result
i need your help and advice regarding the image search function.
I need to click an image on a web site. after using the image search function i am getting the following error, on the image search function
if $result="0" then return 0 if $result^ ERROR I am using the x64 configuration with the following files attached
thanks for helping..
ImageSearch 64 bit.rar