also wie kann ich eine checkbox abfragen ob da jetzt ein haken is oder nicht?
[autoit][/autoit][autoit][/autoit][autoit][/autoit][autoit]#include <GUIConstants.au3>
$sithpic = @MyDocumentsDir & "\DarthVaderROTSV1.jpg"
opt("guioneventmode", 1)
GUICreate("Sithwecker by sithlord95", 258, 312, 190, 125)
GUISetBkColor(0x000000)
$Input1 = GUICtrlCreateInput(@HOUR & ":" & @MIN & ":" & @SEC, 0, 24, 209, 21)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label1 = GUICtrlCreateLabel("Label1", 0, 0, 212, 17)
GUICtrlSetBkColor(-1, 0xFF0000)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 120, 80, 17, 17)
$Label4 = GUICtrlCreateLabel("Label4", 0, 56, 212, 17)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label2 = GUICtrlCreateLabel("Label2", 0, 104, 212, 17)
GUICtrlSetBkColor(-1, 0xFF0000)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 120, 128, 17, 17)
$Button1 = GUICtrlCreateButton("Starten", 48, 152, 161, 33, 0)
$Pic1 = GUICtrlCreatePic($sithpic, 0, 192, 257, 116)
GUISetState(@SW_SHOW)
$input1 = 0
GUISetOnEvent($Button1, "_start")
While 1
if $input1 = 1 and guictrlread($input1) = @HOUR & ":" & @MIN & ":" & @SEC Then
endif
wend
func _start()
$input1 = 1
endfunc