randa Posted February 22, 2019 Share Posted February 22, 2019 Hello, When i run my script with the command Run Script (x64bits) it works by when i do it with the planned tasks the following error message comes : I try to do it with ImageSearch.dll 32bits and 64bits and versions of autoit 86, 64 and 32bits but it doesn't work. My script is : #include <ImageSearch.au3> shellexecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe","http://xxxxxxxxxxx") Sleep (10000) $x1=0 $y1=0 $result = _ImageSearch("NameImage.png",1,$x1,$y1,0) if $result=1 Then MouseClick("Left", $x1 + 50, $y1, 1) Sleep (5000) Send ("USERNAME") ElseIf msgbox(4,"blablabla","blablabla",10) EndIf $a1=0 $b1=0 $result = _ImageSearch("PasswordImage.png",1,$a1,$b1,0) MouseMove($a1,$b1,10) if $result=1 Then MouseClick("Left", $a1 + 150, $b1, 1) Sleep (5000) Send ("PASSWORD") EndIf $x1=0 $y1=0 $result = _ImageSearch("NameImage2.png",1,$x1,$y1,0) if $result=1 Then MouseClick("Left", $x1, $y1, 1) Sleep (5000) EndIf Can someone help me to solve my issue ? Thank you a lot. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 22, 2019 Moderators Share Posted February 22, 2019 @randa it looks very much like you are trying to automate getting around a Captcha image, is this accurate? ===In case you missed it, this is a Mod stepping into a thread=== "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
randa Posted February 25, 2019 Author Share Posted February 25, 2019 Hello, Thank you for your help. I want to run a scheduled task by opening a url until everything works but when I say to find an image I have this error message. Do you have an idea? thanks a lot for your help Link to comment Share on other sites More sharing options...
Developers Jos Posted February 25, 2019 Developers Share Posted February 25, 2019 You haven't answer the question raised: On 2/22/2019 at 4:51 PM, JLogan3o13 said: @randa it looks very much like you are trying to automate getting around a Captcha image, is this accurate? So is this the case? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
randa Posted February 25, 2019 Author Share Posted February 25, 2019 Hello Jos, No this is not the case. Do you think that a file is missing somewhere ? Thank you Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted February 25, 2019 Moderators Share Posted February 25, 2019 (edited) 1 hour ago, randa said: Hello Jos, No this is not the case. Do you think that a file is missing somewhere ? Thank you Then please explain in more detail what you are trying to accomplish. A picture of the passwordimage and nameimage pictures would go a long way toward helping folks understand. Edited February 25, 2019 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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