also auch wenns vllt nicht ganz passt=D
zur info ich scripte ca. 2h auoit jetztD= also vollNOOB
Quote:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Prozesskiller by xmoeglll", 253, 129, 443, 377)
$Process = GUICtrlCreateInput("Hallo", 8, 32, 233, 23)
$Label1 = GUICtrlCreateLabel("Prozess:", 104, 8, 44, 17)
$Button1 = GUICtrlCreateButton("Kill Prozess", 8, 64, 233, 49)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
kill ()
EndSwitch
WEnd
Func kill ()
ProcessClose ($Process)
EndFunc
|
so weit so gut hab ich dann mal getestet ging nicht -.-
hab dann mal den input getestet (mit einer msgbox), die die variable Process anzeigen sollte... aber dann kam immer nur 3 raus = ( ich weiss nicht was ich da falsch gemacht habe...
EDIT: ohne die GUI bekomm ich des hin ohne fehler aber die ganzen fenster nerven-.-