Brauche Hilfe mit _FileWriteLog

  • Also ich habe mal ein kleines script gemacht aber es kommt ein error raus

    [autoit]

    #include <ButtonConstants.au3>
    #include <EditConstants.au3>
    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    #include <file.au3>

    [/autoit][autoit][/autoit][autoit]

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Form1", 135, 61, 193, 125)
    $Input1 = GUICtrlCreateInput("Input1", 8, 8, 121, 21)
    $Button1 = GUICtrlCreateButton("Button1", 8, 32, 123, 25, 0)
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit][autoit][/autoit][autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    Case $Button1
    $inpu1 = GUICtrlRead ($input1)
    _FileWriteLog(@ScriptDir & "\avc.log", "Internet Seite : "$inpu1)
    MsgBox (0,"HALLO","Hallo")

    EndSwitch
    WEnd

    [/autoit]

    brauche hilfe
    hilft mir bitte