[Frage] Wie Kann ..

05/22/2009 14:24 Tweek™#1
Liebe User Wie Kann ich Ein bottun

ein function geben z.B wenn man auf denn B.
klcikt das Cheat Engine in der Prozess leiste aus geht
Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 374, 262, 447, 161)
$Button1 = GUICtrlCreateButton("Button1", 128, 120, 57, 17, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

	EndSwitch
WEnd
05/22/2009 14:26 Syc0n#2
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 374, 262, 447, 161)
$Button1 = GUICtrlCreateButton("Button1", 128, 120, 57, 17, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
= GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        Case 
$Button1
            DeineFunktion
()
    EndSwitch
WEnd 
.
05/22/2009 14:27 felixli93#3
Code:
Case $button1
	ProcessClose ("cheatengine.exe")
05/22/2009 14:31 Tweek™#4
Lol super wie schnell o.o
cooles forum danke noch ma !!

Edit: