Hiho bin neu ihr und habe mir was Vogenommen und Hoffe ihr könnt mir ein Bischen helfen
also
Wenn ich den Button save Drücke soll er was in input 1 und 2 in die ini Gespeicher werden und wenn man das Programm startet soll er es wieder Auslesen und schon Drine Stehen
Ihr mal mein script aja ich bin anfanger bitte kein spam Danke
[autoit]^#include <GUIConstants.au3>
[/autoit][autoit][/autoit][autoit]#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Login", 413, 128, 303, 172)
$Input1 = GUICtrlCreateInput("", 16, 48, 297, 21)
$Input2 = GUICtrlCreateInput("", 16, 96, 297, 21)
$Password = GUICtrlCreateLabel("Password", 16, 72, 66, 17)
$Nickname = GUICtrlCreateLabel("Nickname", 16, 24, 52, 17)
$Save = GUICtrlCreateButton("Save", 328, 16, 73, 25, 0)
$Login = GUICtrlCreateButton("Login", 328, 56, 73, 65, 0)
$Group1 = GUICtrlCreateGroup("Loginbox", 8, 8, 401, 113)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
$save(@ScriptDir & "\Config.ini", "Logindaten", "User", $Input1)
$save(@ScriptDir & "\Config.ini", "", "Password", $Input2)
$Input1 = IniRead(@ScriptDir & "\Config.ini", "Logindaten", "User", "0")
$Input2 = IniRead(@ScriptDir & "\Config.ini", "", "Password", "0")