TiTiwut

Problem at me found about ImageSearch.au3

5 posts in this topic

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Hello. Are you using x64 imagesearch library?

 

Saludos

Share this post


Link to post
Share on other sites
4 hours ago, Danyfirex said:

Hello. Are you using x64 imagesearch library?

 

Saludos

Yes x64 ImageSearch

Share this post


Link to post
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

Share this post


Link to post
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