stealthingyew Posted September 6, 2016 Share Posted September 6, 2016 does anyone else have a problem with this? It works fine on windows 7 but on my windows10 laptop I cannot get the imagesearcharea to work it runs but never returns anything. I can post my exact scripts that is calling imagesearcharea if necessary but seems to be a windows10 only issue. I attached imagesearch.au3 and the imagesearchdll I use. ImageSearch.au3 ImageSearchDLL64.dll Link to comment Share on other sites More sharing options...
232showtime Posted September 6, 2016 Share Posted September 6, 2016 kindly show your code... ill get to that... i still need to learn and understand a lot of codes Correct answer, learn to walk before you take on that marathon. Link to comment Share on other sites More sharing options...
AutoBert Posted September 6, 2016 Share Posted September 6, 2016 Maybe the resolution of the browser has changed! And as you seen meanwhile ImageSearch, PixelSearch and mouseclicks aren't the best way to automate a programm, name the programm and we will try to find a better way. Link to comment Share on other sites More sharing options...
stealthingyew Posted September 6, 2016 Author Share Posted September 6, 2016 $delete, $topx,$topy,$bottomx,$bottomy are all taken from a config.ini file as I said no problems running on a windows 7 machine but on a windows 10 machine(both 64 bit) it never finds the image or any image for that matter. It doesn't error out and the correct key is read from file and that the key is in fact being pushed. Func Deleteme() $vkdeleteme = StringRight(Hex(_GUICtrlHKI_GetHotKey($deleteme)), 4) MsgBox($MB_SYSTEMMODAL, "Delete", $vkdeleteme) ;double check correct hex key code ToolTip("checking for item to delete!", 0, 0) $UnPaused = Not $UnPaused While $UnPaused Do sleep (100) Until _IsPressed($vkdeleteme, $hDLL) MsgBox($MB_SYSTEMMODAL, "Activated", "Searching program to delete") ;checking if key is detected being pushed Do Sleep(200) Local $search1 = _ImageSearchArea('Images\delete.png', 1, $topx, $topy, $bottomx, $bottomy, $x, $y, 40) If $search1 = 1 Then MsgBox($MB_SYSTEMMODAL, "Delete", "found program to delete") ;just to check incase soundplay isnt working SoundPlay("Sound\delete.wav") Sleep(100) EndIf Until $search1 = 1 WEnd EndFunc ;==>end Link to comment Share on other sites More sharing options...
NeoSica Posted October 11, 2016 Share Posted October 11, 2016 I'm having this issue as well on Windows 8.1. Nothing seems to work, and I seem to have an issue registering the dll. Link to comment Share on other sites More sharing options...
JennMaughan Posted October 16, 2016 Share Posted October 16, 2016 Same. Link to comment Share on other sites More sharing options...
AutoBert Posted October 17, 2016 Share Posted October 17, 2016 Ok, you found meanwhile the donwload: Link to comment Share on other sites More sharing options...
JennMaughan Posted October 19, 2016 Share Posted October 19, 2016 Hi AutoBert, I've found several different downloads. but none of them work on my computer. Seems maybe it has to be customized for every new operating system? After trying for several hours... i broke out the paper and marker and just made flashcards instead of using tech. Would like to figure it out, I'm just way too tired. Link to comment Share on other sites More sharing options...
beeria Posted October 19, 2016 Share Posted October 19, 2016 hello, I've had problems with autoit and win10 in general. maybe try to compile your script and "run as administrator"? it solved my problems Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now