#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form = GUICreate("Form1", 444, 214, 193, 125)
$value = IniRead(@ScriptDir&"\file.ini","INPUT","VALUE","null")
$Input= GUICtrlCreateInput($value, 80, 48, 249, 21)
$save = GUICtrlCreateButton("SAVE", 350, 48, 75, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $save
$inputvalue=GUICtrlRead($Input)
IniWrite(@ScriptDir&"\file.ini","INPUT","VALUE",$inputvalue)
EndSwitch
WEnd
|