vladedoty Posted September 2, 2009 Posted September 2, 2009 first of all i want to tell everyone that the support here is amazing all of u who have put in your help have helped me immensely!!! I was just wondering what would be the best way to make my autoit script into a trial version of like 2 days? Is it a simple code I just put into the beginning of the script or is it more complicated than this?
vladedoty Posted September 2, 2009 Author Posted September 2, 2009 Here. Search.I thought this only worked with online scripts what if the script is used not online?would this still work?
mdwerne Posted September 2, 2009 Posted September 2, 2009 It's not my code, but I found this: #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()) > 30 Then MsgBox(0, "*XPClean Menu*", "You're registration period has expired.") Exit EndIf Here: http://quadryders.com/phpcc/snippet.php?sid=3 which may help get you started. -Mike
vladedoty Posted September 2, 2009 Author Posted September 2, 2009 It's not my code, but I found this: #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()) > 30 Then MsgBox(0, "*XPClean Menu*", "You're registration period has expired.") Exit EndIf Here: http://quadryders.com/phpcc/snippet.php?sid=3 which may help get you started. -Mike sorry but will this only work for xp or will it work for vista as well?
qazwsx Posted September 2, 2009 Posted September 2, 2009 I thought this only worked with online scripts what if the script is used not online?would this still work?What do you mean online scripts? Scripts that can connect to the internet? I think anything not requiring internet access could easily be bypassed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now