Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Countdown showing days hours min seconds
#2
Macro Macro1276
Code:
Copy      Help
DATE dFuture="01/01/2010"

rep
,DATE dNow.getclock
,if(dNow>=dFuture) break
,
,SYSTEMTIME t
,int days=dFuture.diff(dNow t)
,
,str s.format("%i days %i hours %i minutes %i seconds" days t.wHour t.wMinute t.wSecond)
,OnScreenDisplay s 2 0 0 0 0 0 5|8 "cd452"
,1

OsdHide "cd452"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)