Hallo!
Ich habe mal wieder nichts Sinnvolles programmiert!
Mit diesem Programm kann man die Windows System-Zeit und das System-Datum komfortabel umstellen!
Leider konnte ich die .zip Datei noch nicht hochladen, weil sich dann mein router immer Aufhängt!
Per E-mail könnte ich ihn allerdings verschicken!
Was kann ich verbessern ?
Mfg Lenny! =)
Ich hoffe damit ist der Autoit Code gemeint
Spoiler anzeigen
#include <GUIConstants.au3>
#include<date.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Time & Date Changer", 270, 112, 193, 115)
$Label1 = GUICtrlCreateLabel("Stellen sie die zeit im folgenden Format ein: HH.MM.SS ", 0, 0, 266, 17)
$Label1 = GUICtrlCreateLabel("Stellen sie das Datum im Format ein :DD.MM.YY", 0, 56, 234, 17)
$Input1 = GUICtrlCreateInput("", 0, 24, 33, 21)
$Input2 = GUICtrlCreateInput("", 40, 24, 33, 21)
$Input3 = GUICtrlCreateInput("", 80, 24, 33, 21)
$Input4 = GUICtrlCreateInput("", 0, 80, 33, 21)
$Input5 = GUICtrlCreateInput("", 40, 80, 33, 21)
$Input6 = GUICtrlCreateInput("", 80, 80, 33, 21)
$Button1 = GUICtrlCreateButton("Übernehmen", 128, 24, 129, 17, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$ihour = GUICtrlRead($Input1)
$iminute = GUICtrlRead($Input2)
_SetTime($ihour, $iminute)
$iday = GUICtrlRead($Input4)
$imonth = GUICtrlRead($Input5)
$iyear = GUICtrlRead($Input6)
_SetDate($iday, $imonth, $iyear)
send("!{f4}")
EndSwitch
WEnd
wie gesagt ... ganz simpel =)