Hallo Leute habe ein Problem
AutoIT zeigt mir den Fehler an:
C:\...\...\...\...\AutoIt3\Include\WinAPIError.au3 (29) : ==> "Func" statement has no matching "EndFunc".:
Func _WinAPI_GetLastError($curErr=@error, $curExt=@extended)
So aber in Zeile 29 Steht:
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
Hier ist ein Teil meines Scripts:
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Pasword Abfrage", 258, 87, 192, 124)
$Input1 = GUICtrlCreateInput("", 128, 40, 121, 21,$ES_PASSWORD)
$Label1 = GUICtrlCreateLabel("Password Abfrage", 8, 0, 131, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Bitte Password eingeben:", 0, 40, 124, 17)
$Weiter = GUICtrlCreateButton("Weiter >", 8, 56, 75, 25, 0)
$Label3 = GUICtrlCreateLabel("Made by Mrx", 144, 16, 76, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Weiter
If GUICtrlRead($Input1) = "xxxx" Then
ToolTip("Richtig^^")
Main()
Else
TrayTip("Fehler","Sie haben das Fasche Password eingegeben!",6)
EndIf
EndSwitch
WEnd