#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=Lock.ico #AutoIt3Wrapper_Outfile_x64=Releases\Lock.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,"Vérouillage","Cliquez sur Oui pour vérouiller l'ordinateur") ; MsgBox(0,"ANSWER",$Confirm) If $Confirm = "6" Then Run("Rundll32.exe user32.dll,LockWorkStation", "", @SW_HIDE) EndIf