Tyleo-Dev-AutoIT-Oldies/AutomatedClockSync/AutomatedClockSync NoWait.au3

43 lines
1.3 KiB
AutoIt
Raw Permalink Normal View History

2024-02-18 21:17:39 +00:00
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Sans titre (1).ico
#AutoIt3Wrapper_Outfile=..\..\Logiciels\AutomatedClockSync_NW_32-LE.exe
#AutoIt3Wrapper_Outfile_x64=..\..\Logiciels\AutomatedClockSync_NW_64.exe
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_Res_Comment=ACS - Automated Clock Syncer NoWait
#AutoIt3Wrapper_Res_Description=ACS - Automated Clock Syncer NoWait
#AutoIt3Wrapper_Res_Fileversion=1.0.0.3
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_ProductName=ACS
#AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
#AutoIt3Wrapper_Res_CompanyName=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalCopyright=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalTradeMarks=Tyleo Softwares
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#NoTrayIcon
#RequireAdmin
#include "MetroGUI-UDF\MetroGUI_UDF.au3"
#include "Extensions.au3"
GetSoftDetails(@AutoItExe,"DEV")
; Integrated : NTP_GetTime()
; Integrated : System_SetTime()
#cs
Tyleo Software Project Base v1
Created With CNP and DevTools Base Folder
All Softwares created with this base are Free and Open Sourced.
Join our Guilded Server ! https://www.guilded.gg/i/2DRlM7Mp
#ce
ResyncTime()
Func ResyncTime()
RunWait("net start w32time", "", @SW_HIDE)
RunWait("w32tm /resync", "", @SW_HIDE)
EndFunc