Tyleo-Dev-AutoIT-Oldies/EPOW/Restart.au3

19 lines
823 B
AutoIt
Raw Permalink Normal View History

2024-02-18 21:17:39 +00:00
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Restart.ico
#AutoIt3Wrapper_Outfile_x64=Releases\Restart.exe
#AutoIt3Wrapper_Res_Comment=Epow Toolset Part
#AutoIt3Wrapper_Res_Description=Epow Toolset Part
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_ProductName=Epow Toolset Part
#AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
#AutoIt3Wrapper_Res_CompanyName=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalCopyright=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalTradeMarks=Tyleo Softwares
#AutoIt3Wrapper_Res_Language=1033
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
$Confirm = MsgBox(4,"Redémarrage","Cliquez sur Oui pour redémarrer l'ordinateur")
; MsgBox(0,"ANSWER",$Confirm)
If $Confirm = "6" Then
Run("shutdown -r -t 00", "", @SW_HIDE)
EndIf