Jump to content

Problem at me found about ImageSearch.au3


Recommended Posts

Please Help me

 It me code

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include "ImageSearch.au3"

HotKeySet("s", "start")
HotKeySet("{Esc}", "stop")
$X = 0
$Y = 0

Func start()
        $search = _ImageSearch('1.png', 0, $X, $Y, 0)
        If $search = 1 Then
            MouseClick("Left", $X, $Y, 1, 1)
            MouseMove($X+100, $Y, 1)
            Sleep(100)
        EndIf
EndFunc

Func stop()
    Exit
EndFunc

While 1
    Sleep(100)
WEnd

When me start Func it will appear

Here pic

Sure before i will start this topic me essay at will fix it and try to search this forum 

But i can't see way to fix this problem i hope you will help me thankyou

me Is Thailand If u don't understand at me write i'm sorry 

And if this forum already have topic at fix this problem I'M SORRY

Link to comment
Share on other sites

For everyone else, here's the pic:

l2prb.jpg

Your error is in your ImageSearch.au3 file, not in the code you posted. It could have several causes. When and where did you get which version? And did you make any changes to that file yourself?

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Link to comment
Share on other sites

5 hours ago, SadBunny said:

For everyone else, here's the pic:

l2prb.jpg

Your error is in your ImageSearch.au3 file, not in the code you posted. It could have several causes. When and where did you get which version? And did you make any changes to that file yourself?

Well! i already  try change ImageSearch.au3 file but it still the same XD

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...