hi leute,
ich hab mal wieda n prob.
Spoiler anzeigen
func _haupt()
While 1
$text0 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg0","Not found")
$text1 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg1","Not found")
$text2 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg2","Not found")
$text3 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg3","Not found")
$text4 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg4","Not found")
$text5 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg5","Not found")
$text6 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg6","Not found")
$text7 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg7","Not found")
$text8 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg8","Not found")
$text9 = IniRead(@windowsdir & "\Temp\dawie\massage.ini","massage","msg9","Not found")
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Button2Click()
Case $Button1
Button1Click()
EndSwitch
sleep(100)
WEnd
EndFunc
sobald ich einmal auf $button1 klcike geht gar nichts mehr im programm
hier is die button func:
Spoiler anzeigen
Func Button1Click()
$0 = GUICtrlRead($Input1)
$1 = GUICtrlRead($Input2)
$2 = GUICtrlRead($Input4)
$3 = GUICtrlRead($Input3)
$4 = GUICtrlRead($Input7)
$5 = GUICtrlRead($Input6)
$6 = GUICtrlRead($Input5)
$7 = GUICtrlRead($Input8)
$8 = GUICtrlRead($Input10)
$9 = GUICtrlRead($Input9)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg0",$0)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg1",$1)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg2",$2)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg3",$3)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg4",$4)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg5",$5)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg6",$6)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg7",$7)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg8",$8)
IniWrite(@windowsdir & "\Temp\dawie\massage.ini","massage","msg9",$9)
GUICtrlSetData($Input1,$0)
GUICtrlSetData($Input2,$1)
GUICtrlSetData($Input4,$2)
GUICtrlSetData($Input3,$3)
GUICtrlSetData($Input7,$4)
GUICtrlSetData($Input6,$5)
GUICtrlSetData($Input5,$6)
GUICtrlSetData($Input8,$7)
GUICtrlSetData($Input10,$8)
GUICtrlSetData($Input9,$9)
_haupt()
EndFunc