Auto It Probelem

12/21/2010 18:47 .AllForOne.#1
Hey,
Code:
HotKeySet("{F8}", "Ende")
HotKeySet("{F7}", "Start")

Opt('PixelCoordMode', 2)
Opt('MouseCoordMode', 2)

While 1
	Sleep(400)
	
	Wend


			   
Func Start()
	While 1
		Sleep(200)
		 Logik()
			
		WEnd
		
EndFunc
	
	
	Func Ende()
		Exit
		
		EndFunc
	
	
			Func Logik()
		   $on = 0x000000
		   $off  = 0x39565D
		   $pixel = PixelGetColor(793,599)
		   
		   
		   If $pixel = $off
			   Then
			   mouseclick ("left" , 348, 289)
			   Sleep(1000)
			   Send("ID")
			   Sleep(400)
			   Send("{ENTER}")
			   Sleep(400)
			   Send("PW")
			   Sleep(1000)
			   Send("{ENTER}")
			   Sleep(2500)
			   mouseclick ("left" , 170, 479)
			   Sleep(4000)
			   
		   Else
			   Sleep(300)
			   
			   EndIf
			   
EndFunc

Das ist meinr Skript.
Compilierung funktioniert nur wenn ich es ausführen möchte kommt immer der Fehler: in Line 8 "" Func has no mathcing EndFunc .

Seh den Fehler einfahc nicht.

Danke

afo
12/21/2010 18:50 Inѕane#2
sry aber wrong section

#reported
12/21/2010 19:02 .AllForOne.#3
in welche sektion muss es?
12/21/2010 19:13 Flοw#4
[Only registered and activated users can see links. Click Here To Register...]

dahin ;)
12/21/2010 19:18 Der-Eddy#5
[Only registered and activated users can see links. Click Here To Register...]