hi
maybe i have mistake in next script
; 3 Day Trial
#include<date.au3>
#include<string.au3>
If RegRead("HKCU\Software\Microsoft\Windows\Current Version", "XPClean Menu") = "" Then
RegWrite("HKCU\Software\Microsoft\Windows\Current Version", "XPClean Menu", "REG_SZ", _StringEncrypt(1, _NowCalc(), @ComputerName))
SetError(0)
EndIf
$startdate = _StringEncrypt(0, RegRead("HKCU\Software\Microsoft\Windows\Current Version", "XPClean Menu"), @ComputerName)
If _DateDiff("D", $startdate, _NowCalc()) > 3 Then
MsgBox(0, "*XPClean Menu*", "You're registration period has expired.")
Exit
ElseIf _DateDiff("D", $startdate, _NowCalc()) < 3 Then
EndIf
i wrote that script to make my tool is work for 3 days only --- before or after no work
but when i return colock befor exucte this script , the script work???