hallo frohes neues ,
wer weiß wie man im "label 1" die zeit (die aktuelle vom der taskleiste) anzeigen lassen??
ich versuche ein pc wecker zu programmieren da ich nicht seher viel erfahrung habe ,brauche ich eure unterstüzung bitte
(das fenster mache ich später besser )
Danke im vorraus!!
Spoiler anzeigen
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Wecker", 662, 469, 196, 121)
$Label1 = GUICtrlCreateLabel("", 144, 32, 251, 112)
GUICtrlSetFont(-1, 70, 800, 0, "MS SystemEx")
$Label2 = GUICtrlCreateLabel("", 280, 152, 130, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("Uhr", 392, 32, 164, 112)
GUICtrlSetFont(-1, 70, 800, 0, "MS SystemEx")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
If $msg=-3 Then Exit
If $msg=$Button2 Then Label1()
WEnd
Func Label1 ()
(@HOUR,:@MIN)
EndFunc