Shop Mobile More Submit  Join Login
CountDownLua by vonSmallhausen CountDownLua by vonSmallhausen
As some of you might know, making a proper countdown skin with rainmeter have been almost impossible (almost, with some thousands upon thousands lines of code you can do it if you really want to). Now we got Lua, and everything has changed!

This is a little skin that uses InputText to change the event and date (leftclick on the time left, you will then get a new little bar on which you change the date). Then that date is thrown to Luas own os.time function that automagically calculates what that date is in seconds. Then just subtracts how many seconds there is now. Voilą! You got the countdown - with leap years and everything!

And that's about it. Enjoy!
Add a Comment:
 
:icondeboru:
deBoru Featured By Owner Feb 26, 2013  Professional Interface Designer
Looks awesome! Love the new Lua language, so many possibilities!
Reply
:iconzosoman123:
Zosoman123 Featured By Owner Sep 16, 2012
Same, doesn't seem to work anymore.
Reply
:iconamateurartist22:
AmateurArtist22 Featured By Owner Sep 16, 2012
Also not working for me, same problem (D H M S is all that shows up)...
Any ideas? :/
Reply
:iconcrimzind:
crimzind Featured By Owner Aug 15, 2012
Yea, it's not working anymore for me either. (My HDD just went up, and I'm running the newest version of Rainmeter.) I really liked the slim and simple approach to this, I'd love to find out how to fix it.
Reply
:iconconcerned12:
concerned12 Featured By Owner Jul 18, 2012
hello,
your skin has been working amazingly until i updated to rainmeter 2.3, all it shows now is D H M S, iv tried setting multiple dates...nothing has worked
i get an error in the log:

Cript: CountDownLua.lua:21:attempt to index glabal 'stringDate' a nil value


pls help, i love this skin and find it essential in meeting any sort of deadlines
Reply
:iconconcerned12:
concerned12 Featured By Owner Jul 18, 2012
hello,
your skin has been working amazingly until i updated to rainmeter 2.3, all it shows now is D H M S, iv tried setting multiple dates...nothing has worked
i get an error in the log:

Cript: CountDownLua.lua:21:attempt to index glabal 'stringDate' a nil value


pls help, i love this skin and find it essential in meeting any sort of deadlines
Reply
:iconthesepp:
TheSepp Featured By Owner Nov 18, 2011
Very very nice and simple! Used your wonderful *.lua for my little SWTOR Countdown Skin, so thanks alot =)

Greetings from Germany!
Reply
:icondrummerboy08:
Drummerboy08 Featured By Owner Apr 24, 2011  Hobbyist General Artist
Thanks so much for this, its a great timer, but is there a way to run multiple instances of this(i.e. to have two times for two different dates/times)? I have tried copying the skin file and renaming every file and bit of code with "CountDownLua2, and it appears that each is capable of keeping its own time, but only one will have the visual display of counting down. The other doesn't do anything until the individual skin is refreshed, and then the first stops displaying. And ideas on what might be done?
Reply
:iconvonsmallhausen:
vonSmallhausen Featured By Owner Apr 28, 2011
Just copy the entire folder. Then run the two.
Rainmeter can only run one skin from each folder, every skin in the same folder is seen as a 'variant' of the same skin.
So copy the folder and rename the new folder. Good to go!
Reply
:icondrummerboy08:
Drummerboy08 Featured By Owner Apr 30, 2011  Hobbyist General Artist
Ok, thank you!
Reply
:iconbob363:
BOB363 Featured By Owner Apr 17, 2011
Thanks, great skin.
I noticed that minute and second variables are ignored in the countdown.
Reply
:iconvonsmallhausen:
vonSmallhausen Featured By Owner Apr 17, 2011
Hah. So it is. Odd. Thanks for reporting!
Reply
:iconstormlilly:
stormlilly Featured By Owner Feb 28, 2011
very nice. Also have to comment that ethics was surprisingly one of the hardest courses I took. Interesting class tho.
Reply
:iconvonsmallhausen:
vonSmallhausen Featured By Owner Feb 28, 2011
Thanks.
Normative Ethics is just one part-course out of 4 I'm reading (the whole course is called Practical philosophy), but I agree that it's kinda hard. Have to separate all kinds of terms and, basically, philosophies.
Reply
:iconsea1monkey2:
sea1monkey2 Featured By Owner Feb 16, 2011  Hobbyist
can the same thing be done to make an efficient calendar?
Reply
:iconvonsmallhausen:
vonSmallhausen Featured By Owner Feb 17, 2011
Very likely. I have thought about it, and I see no reason why it shouldn't be able to. So yeah, it should be possible.
Reply
:iconarchon302:
archon302 Featured By Owner Feb 15, 2011
awesome. very nice indeed.
Reply
:iconkarmat111:
karmat111 Featured By Owner Feb 15, 2011
Nice work!
Reply
:icongamerworld14:
GamerWorld14 Featured By Owner Feb 15, 2011  Student Interface Designer
Wow, Awesome! :D
Reply
Add a Comment:
 
×
Download 2.8 KB




Details

Submitted on
February 15, 2011
File Size
2.8 KB
Link
Thumb
Embed

Stats

Views
5,460 (1 today)
Favourites
23 (who?)
Comments
19
Downloads
1,531

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×