Tyleo-Dev-AutoIT-Oldies/EPOW/Shutdown.au3
2024-02-18 22:17:39 +01:00

19 lines
No EOL
816 B
AutoIt
Executable file

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Shutdown.ico
#AutoIt3Wrapper_Outfile_x64=Releases\ShutdownNow.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,"Arrêt","Cliquez sur Oui pour arrêter l'ordinateur")
; MsgBox(0,"ANSWER",$Confirm)
If $Confirm = "6" Then
Run("shutdown -f -p", "", @SW_HIDE)
EndIf