Jump to content

Compare an image with the screen


Recommended Posts

23 minutes ago, InunoTaishou said:

Look at this topic, download for it in the bottom of the post

 

Thanks, I downloaded it, but I think I'm doing something wrong because it never finds, have a way to do a loop instead of receive a error message?

Link to comment
Share on other sites

The error MSG:

>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\AVELL\Documents\Bot\huntv01.au3"    
"C:\Users\AVELL\Documents\Bot\ImageSearch.au3" (44) : ==> Subscript used on non-accessible variable.:
if $result[0]="0" then return 0
if $result^ ERROR
>Exit code: 1    Time: 1.218
 

Link to comment
Share on other sites

  • Moderators

@Zeusking what application are you trying to manipulate? Guarantee there is a better way to do it than ImageSearch

"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

Some one? im using now ImageSearch2015 and taking this error:

 

>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\AVELL\Documents\Bot\adsa.au3"    
teste"C:\Users\AVELL\Documents\Bot\adsa.au3" (9) : ==> Unknown function name.:
$result = _ImageSearch($picture,1,$x1,y1,0,0)
$result = _ImageSearch($picture,1,$x1,^ ERROR
>Exit code: 1    Time: 0.3834

Link to comment
Share on other sites

  • Moderators

@Zeusking please wait at least 24 hours before bumping your post. We understand that solving the issue is the most important thing in the world to you, but you need to show a little patience. We have volunteers on the forum all over the world; the person best suited to assist you may not be on right now.

"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

I'm a little concerned with why the path to your script is in a Bot folder

3 hours ago, Zeusking said:

Some one? im using now ImageSearch2015 and taking this error:

 

>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\AVELL\Documents\Bot\adsa.au3"    
teste"C:\Users\AVELL\Documents\Bot\adsa.au3" (9) : ==> Unknown function name.:
$result = _ImageSearch($picture,1,$x1,y1,0,0)
$result = _ImageSearch($picture,1,$x1,^ ERROR
>Exit code: 1    Time: 0.3834

What application are you trying to automate?

Link to comment
Share on other sites

  • Moderators

@InunoTaishou, asked and answered if you actually read the post. Lots of new users use the term bot without necessarily intending to break the forum rules; they are simply unaware that it throws red flags on this forum. Until something is actually presented that is against the rules, let's not harass the OP with the same questions.

Edited 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...