moin,
ich hab das problem das mein script wenn ich es starte direkt wieder ausgeht
das is jetz nur die gui
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Func Main ()
$Form1 = GUICreate("test", 199, 248, 201, 132)
$Button1 = GUICtrlCreateButton("Button1", 64, 56, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Button2", 64, 104, 75, 25, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Button3", 64, 152, 75, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Button4", 64, 200, 75, 25, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Wähle aus", 40, 8, 108, 41)
GUISetState(@SW_SHOW)
[/autoit][autoit][/autoit][autoit]While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
EndFunc
ich hoffe ihr könnt mir helfen![]()