how i Lock my Script with Password ?
i went Lock Checkbox9 when write password Open lock unlock can help?
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("tees", 400, 229, 299, 218)
$PasswordEdit = GUICtrlCreateInput("", 96, 24, 233, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
$ButtonOk = GUICtrlCreateButton("&OK", 166, 56, 75, 25, $BS_NOTIFY)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 24, 112, 97, 17, $BS_AUTO3STATE)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 168, 112, 97, 17, $BS_AUTO3STATE)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 296, 112, 97, 17, $BS_AUTO3STATE)
$Checkbox4 = GUICtrlCreateCheckbox("Checkbox4", 24, 144, 97, 17, $BS_AUTO3STATE)
$Checkbox5 = GUICtrlCreateCheckbox("Checkbox5", 168, 152, 97, 17, $BS_AUTO3STATE)
$Checkbox6 = GUICtrlCreateCheckbox("Checkbox6", 296, 152, 97, 17, $BS_AUTO3STATE)
$Checkbox7 = GUICtrlCreateCheckbox("Checkbox7", 24, 184, 97, 17, $BS_AUTO3STATE)
$Checkbox8 = GUICtrlCreateCheckbox("Checkbox8", 168, 184, 97, 17, $BS_AUTO3STATE)
$Checkbox9 = GUICtrlCreateCheckbox("Checkbox9", 296, 184, 97, 17, $BS_AUTO3STATE)
$EnterPassLabel = GUICtrlCreateLabel("Enter password", 0, 28, 77, 17, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd