Chelsi Posted November 13, 2015 Share Posted November 13, 2015 Hai guys,im new here...i want to asking for concept / code for my private project.i wanna build program that will count "1" to "5" & close/pause the program itself. after that it will make some restriction....when im running it again (in the same day) it wont open, n just can open the program in other day(if i want to cheat to change manually the day in my computer the program wont work too)could someone teach me how its works (maybe) ?Big thanks Link to comment Share on other sites More sharing options...
jdelaney Posted November 13, 2015 Share Posted November 13, 2015 (edited) TimerInit TimerDiffTake dates out of it, and no worries. Edited November 13, 2015 by jdelaney IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
Chelsi Posted November 13, 2015 Author Share Posted November 13, 2015 TimerInit TimerDiffTake dates out of it, and no worries.any example ?coz im newbie n wanna learn more...so far that i write :#include <Date.au3> Cek() RUNN() func RUNN() @MDAY consolewrite("hari brp ?"&@MDAY&@CRLF) local $AAA = 1 While 1 if $aaa <= 5 Then consolewrite("Number : "&$AAA &@CRLF) $AAA = $AAA + 1 if $aaa >= 6 then Exit Else EndIf WEnd EndFunc Func Cek() If @MON = 11 and @MDAY = 13 Then ; Advent event will run from December 1st to the 25th! MsgBox(2096 + 64, "MY LIMIT","THAT's MY LIMIT"&@CRLF) EndIf EndFuncbut i think it need some external file that would check it if $aaa is 5 or no.any advice? Link to comment Share on other sites More sharing options...
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