Quote:
#include<ImageSearch.au3>
HotKeySet("{Numpad2}","starten")
HotKeySet ("{Numpad3}"),"beenden"
$x1=0
$y1=0
$x2=0
$y2=0
$x3=0
$y3=0
While 1
SLeep(1)
WEnd
Func starten ()
While 1
$result2=_ImageSearch("exo.png") ,1,$x2,$y2,0)
If $result2=1 Then
Mouseclick ("Right", $x2,$y2)
sleep(500)
$result3=_ImageSearch("konzi.png") ,1,$x3,$y3,0)
If $result3=1 Then
Mouseclick ("Right" ,$x3,$y3)
$result=_imageSearch("fb.png",1,$x1,$y1,0)
If $result=1 Then
Mouseclick("Right", $x1,$yi
sleep(500)
send ("FB gelesen :D ")
EndIf
EndIf
WEnd
EndFunc
Func beenden()
exit 0
Endfunc
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?