hi, also als erstes mal ich hab kp vom forum und wo ich das thema erstellen sollte und deswegen hab ichs einfach mal hier und 2. ich hab auch wenig plan von autoit^^
also meine frage ich will das die texte die man bei den 2 zeilen eingeben kann gespeichert werden also wen man den button gedrückt hat
Spoiler anzeigen
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <File.au3>
#region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 378, 746, 193, 121)
GUICtrlSetState(-1, $GUI_DISABLE)
$zeile 1 = GUICtrlCreateInput("", 42, 240, 289, 21)
$zeile 2 = GUICtrlCreateInput("", 42, 275, 289, 18)
$Button1 = GUICtrlCreateButton("button 1", 150, 456, 75, 25, 0)
GUISetState(@SW_SHOW)
#endregion ### END Koda GUI section ###
$logpfad = "C:/test/testspeichern"
$logeintrag = $zeile 1
$logeintrag = $Gzeile 2
_FileWriteLog($logpfad, $logeintrag)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(64, "test", "das ist ein test")
EndSwitch
WEnd
ich hab das mal erstellt aber es ging net
Edit bernd670 : Tags für Code und Spoiler eingefügt!