Hallo.
Ich möchte gerne, das der Button in dieser Schleife automatisch gedrückt wird.
LG, Lina.
Spoiler anzeigen
GuiSetState()
While 1
$msg = GuiGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $Button_20
$strParams = '"' & GUICtrlRead($Input_2) & '" ' & _
'"' & GUICtrlRead($Input_3) & '" ' & _
'"' & GUICtrlRead($Input_4) & '" ' & _
'"' & GUICtrlRead($Input_5) & '" ' & _
'"' & GUICtrlRead($Input_6) & '" ' & _
'"' & GUICtrlRead($Input_7) & '" ' & _
'"' & GUICtrlRead($Input_8) & '" ' & _
'"' & GUICtrlRead($Input_9) & '" ' & _
'"' & GUICtrlRead($Input_10) & '"'
Run($strProgrammPath & "button1.exe " & " " & $strParams, $strProgrammPath)
Case $msg = $Button_23
Exit
Case Else
EndSelect
WEnd