huhu also ich mache ein bot und ich möchte gern wissen was das problem ist
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 119)
$Group1 = GUICtrlCreateGroup("Group1", 8, 8, 137, 65)
$Radio1 = GUICtrlCreateRadio("Radio1", 16, 24, 113, 17)
$Radio2 = GUICtrlCreateRadio("Radio2", 16, 48, 113, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Button1", 8, 152, 139, 41, 0)
$Group2 = GUICtrlCreateGroup("Group2", 8, 80, 137, 57)
$Label1 = GUICtrlCreateLabel("Label1", 16, 96, 68, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Input1 = GUICtrlCreateInput("Input1", 96, 112, 41, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$Input1 = guictrlread ( $Input1 )
$Radi1 = guictrlread ( $Radio1 )
$Radi2 = guictrlread ( $Radio2 )
;~~~~~~~~~~~~~~~~~~~
If $Radi1 = 1 Then
If PixelGetColor ( 178, 56 ) ==Dec ( "227DE4" ) Then
Send ( $Input1 )
Endif
If $Radi2 = 1 Then
if PixelGetColor ( 137, 57 ) ==Dec ( "217AE3" ) Then
send ( $input1 )
Endif
EndSwitch
WEnd