hi alle zusammen habe mal versucht nen gui zu erstellen für mein kleinen autopot bot .
so habe aber kleinens problem wie kann ich die funktionen dem gui zuordnen ??
hi mal vom autopot und dem testfenster wo sich geöffnet hat
[autoit]#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Christian Monsellato
\Desktop\Neuer Ordner\gui.kxf
$Form1 = GUICreate("Form1", 633, 447, 193, 125)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Opt("SendKeyDelay", 200)
While 1
If PixelGetColor(405, 332) = 0xFFFFFF Then
For $i = 1 to 6
Send ("1") ist für die roten pots
Next
EndIf
If PixelGetColor(405, 332) = 0xFFFFFF Then
For $i = 1 to 4
Send ( "2" ) ist für die blauen pots
Next
EndIf
Sleep(1000)
WEnd
und hier mit dem test fenster
[autoit]#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\christian monsellato\desktop\neuer ordner\gui.kxf
$Form1_1 = GUICreate("Multibot v. 1.2 Made bei Chris", 633, 447, 193, 125)
$Group1 = GUICtrlCreateGroup("Autopot´s", 0, 0, 137, 89)
$Checkbox1 = GUICtrlCreateCheckbox("Rote Pot´s", 8, 24, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Blaue Pot´s", 8, 48, 97, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Start", 0, 408, 73, 25, 0)
$Button2 = GUICtrlCreateButton("Stop", 88, 408, 75, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Form1_1
EndSwitch
WEnd
wie kann ich das zusammen machen ??
lg chris