#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