was ist daran falsch? es geht nicht sollte es für mom machen xD
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", 283, 314, 283, 171)
$Pic1 = GUICtrlCreatePic(@ScriptDir &"\datein\bilder\uhr.jpg", -8, 0, 289, 313, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Label1 = GUICtrlCreateLabel("In wievielen stunden soll es klingeln", 8, 8, 251, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x000000)
$Input1 = GUICtrlCreateInput("0", 8, 40, 249, 21)
$Label2 = GUICtrlCreateLabel("in wievielen minuten soll es klingeln?", 8, 72, 258, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x000000)
$input2 =GUICtrlCreateInput("0", 8, 112, 257, 21)
$Label3 = GUICtrlCreateLabel("in wievielen skunden soll es klingeln", 8, 152, 255, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x0000000)
$Input3 = GUICtrlCreateInput("0", 8, 192, 257, 21)
$Button1 = GUICtrlCreateButton("Uhr stellen", 64, 240, 145, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button1
if $Input1 + @HOUR = @HOUR and $Input2 + @MIN = @MIN and $input3 + @SEC = @sec then
SoundPlay(@ScriptDir & "\Datein\musik\ende.mp3")
EndIf
EndSwitch
WEnd