Ich hab twizes tutorial befolgt... 10x nachgelesen etc... aber Line 22,17 ist falsch... ich hab kA was ich falsch mache... hier ist der script:
$Form1 = GUICreate("Caption", 208, 63, 192, 124)
GUISetFont(8, 400, 0, "Sick Capital Vice")
GUISetBkColor(0xFFFBF0)
$Input1 = GUICtrlCreateInput("", 8, 8, 137, 22)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Button1 = GUICtrlCreateButton("Ausgabe", 8, 32, 137, 25, $WS_GROUP)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Checkbox1 = GUICtrlCreateCheckbox("Groß?", 148, 8, 53, 25)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Func Ausgabe()
$Readinput1 = Guictrlread($input1)
$Readinput1 = Guictrlread($Checkbox1)
if $ReadCheck1 = 1 Then
msgbox(32,"Ausgabe",StringUpper($ReadInput1))
elseif $Readcheck1 = 4 Then
msgbox(32,"Ausgabe",Stringlower($Readinput1))
EndIf
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Call("Ausgabe")
EndSwitch
WEnd
$Form1 = GUICreate("Caption", 208, 63, 192, 124)
GUISetFont(8, 400, 0, "Sick Capital Vice")
GUISetBkColor(0xFFFBF0)
$Input1 = GUICtrlCreateInput("", 8, 8, 137, 22)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Button1 = GUICtrlCreateButton("Ausgabe", 8, 32, 137, 25, $WS_GROUP)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
$Checkbox1 = GUICtrlCreateCheckbox("Groß?", 148, 8, 53, 25)
GUICtrlSetFont(-1, 8, 400, 0, "Arial")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Func Ausgabe()
$Readinput1 = Guictrlread($input1)
$Readinput1 = Guictrlread($Checkbox1)
if $ReadCheck1 = 1 Then
msgbox(32,"Ausgabe",StringUpper($ReadInput1))
elseif $Readcheck1 = 4 Then
msgbox(32,"Ausgabe",Stringlower($Readinput1))
EndIf
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Call("Ausgabe")
EndSwitch
WEnd