also ich ställ mir das so for
man drückt button 1 ; eine box kommt mit irgendeiner zahl (1-9)
dann drückt man button 2 : "
bis Button 4
und am ende stehen dann alle zahlen die man bekommen hat nebenein ander.
[autoit]
$S1 = GUICtrlCreateButton("Schritt 1", 10, 50, 50, 20)
$S2 = GUICtrlCreateButton("Schritt 2", 20, 50, 50, 20)
$S3 = GUICtrlCreateButton("Schritt 3", 50, 50, 50, 20)
$S4 = GUICtrlCreateButton("Schritt 4", 100, 50, 50, 20)
$Exit = GUICtrlCreateButton("Close", 200, 50, 50, 20)
$Zahl = Random( 1, 9, 1)
GUISetState() ; display the GUI
[/autoit][autoit][/autoit][autoit]Do
$msg = GUIGetMsg()
Select
Case $msg = $S1
MsgBox(0,"Zahl","Deine Zahl ist:" $Zahl)
Case $msg = $S2
MsgBox(0,"Zahl","Deine 2 Zahl ist:" $Zahl)
Case $msg = $S3
MsgBox(0,"Zahl","Deine 3 Zahl ist:" $Zahl)
Case $msg = $S4
MsgBox(0,"Zahl","Deine letzte Zahl ist:" $Zahl)
Case $msg = $Exit
MsgBox(0,"Beendet!","Beendet!")
EndSelect
Until $msg = $GUI_EVENT_CLOSE or $msg = $Exit
was habe ich falsch gemacht den script kann ich nicht zum laufen bringen HELp