#include <ImageSearch.au3>
Global $x, $y
$prison = _ImageSearch("check.bmp",1,$x,$y,50)
If $prison = 1 then
MouseClick("right", $x, $y)
Else
MsgBox(048,"Attention","I didnt found the picture.")
EndIf
And when i run it aplication don't show error so it found picture but don't press on image.
ImageSearch Problem 12/22/2013 - AutoIt - 6 Replies Servus Leute,
ich würde mich echt freuen wenn ihr mir zeigen könntet wo der Fehler ist. Ich kann ihn einfach nicht finden. Er soll einfach nur eine MsgBox anzeigen, wenn er das Bild gefunden hat.
#Include <ImageSearch.au3>
HotKeySet ("{F6}","_START")
Global $y = 0, $x = 0
ImageSearch Problem 07/24/2013 - AutoIt - 4 Replies Huhu habe jetzt schon viel gegooglet und paar Kollegen gefragt und komme einfach nicht auf die Lösung warum ich bei folgenden Code:
http://pastebin.com/ZfsJvi0y
Immer diesen Error bekomme:
if $result="0" then return 0
if $result^ ERROR
>Exit code: 1 Time: 1.117
Kann mir einer sagen warum ich immer diesen Fehler bekomme obwohl gar keine Variable mit $result vorkommt?
Grüße
Imagesearch.au3 problem 01/29/2011 - AutoIt - 3 Replies Hi e*pvp
ich hab ein kleines problem mit der _Imagesearch.au3 .
Ich hab die au3 datei in \autoit\include getan und die .dll
in C:\\Windows\System32 . So nun kommt diese Fehlermeldung in scite
ERROR: _ImageSearch(): undefined function.
Pls Help
MfG
Problem: ImageSearch 11/22/2010 - AutoIt - 10 Replies Hallo, ich wollte gerne das ImageSearch (http://www.elitepvpers.com/forum/metin2-guides-tem plates/123505-guide-autoit-imagesearch.html) von AutoIt probieren.
Dies ist mein Script:
#include <ImageSearch.au3>
$x1=0
$y1=0
$result = _ImageSearch("test.png",1,$x1,$y1,0)
if $result=1 Then
MsgBox(0,"Geklappt!")
Imagesearch problem.. 07/16/2010 - AutoIt - 6 Replies es funzt nicht.. es kommt
Error:"Wend" statement with no machting "While" statement
Ich hab das Wend und das While im Thread rot angestrichen.. warum funzt es nicht?