Wär jemand so nett und kann mir sagen ob man einen Radiobutton auch mit GUICtrlRead checkt.Oder wenn man es anders macht mir es erklären kann.
#include <GUIConstants.au3>
GUICreate("My GUI radio") ; will create a dialog box that when displayed is centered
$radio1 = GUICtrlCreateRadio ("Radio 1", 10, 10, 120, 20)
GUICtrlSetState ($radio1,$GUI_CHECKED)
$radio2 = GUICtrlCreateRadio ("Radio 2", 10, 40, 120, 20)
GUISetState () ; will display an dialog box with 1 checkbox
; Run the GUI until the dialog is closed
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
If GUICtrlRead ($radio2) = $GUI_CHECKED Then ;<-----------------
MsgBox(0,"","radio 2 checked")
EndIf
Wend
Wieso nimmt er das rot-makierte space nicht an -.-Quote:
unc _run1();hoff
= Random(1,9)
If <=4 Then
send("{L}")
= random(200, 400)
sleep()
send("{space}")
= random(12700, 12750)
sleep()
send("{w down}")
= random(200, 400)
sleep()
send("{e down}")
= random(950, 960)
sleep()
send("{e up}")
= random(1500, 1600)
sleep()
send("{a down}")
= random(1200, 1210)
sleep()
send("{a up}")
= random(2300, 2400)
sleep()
send("{w up}")
= random(7700, 8000)
sleep()
_fight()
Else
_Course(1119863703, 1500)
send("{L}")
RandomSleep(200,400)
send("{space}")
RandomSleep(13000,13400)
send("R")
RandomSleep(2000,2200)
send("{a down}")
RandomSleep(600,700)
send("{a up}")
RandomSleep(9000,9500)
_fight()
EndIf
EndFunc
lass dass mal weg. Soll dass die Checksum sein?Quote:
_Course(1119863703, 1500)