Wie du siehst, ist es ganz simple aufgebaut...
Ich hab noch weitere Scripts... Aber dort hat es keine Fehler
P.s: sollte ein kleines GM-Tool werden :p
[GUI wurde mit KoDa gemacht...]
[...]
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Sprache wählen", 218, 171, 302, 218)
$ger = GUICtrlCreateButton("Deutsch", 8, 16, 201, 41, $WS_GROUP)
GUICtrlSetFont(-1, 14, 400, 0, "MS Sans Serif")
$en = GUICtrlCreateButton("English", 8, 104, 201, 41, $WS_GROUP)
GUICtrlSetFont(-1, 14, 400, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ger
_ger()
Case $en
_en()
EndSwitch
WEnd
Func _ger()
EndFunc
Func _en()
EndFunc
[....]
Dieser Func-Befehl geht nicht...