Can I please get some help creating a simple countdown timer. I've looked at balala's and at JSMorley's code earlier in this thread, but can't seem to get what I want. Balala's skin is great, but I really want it as simple as possible.
Just set say, 90 minutes or 120 minutes in a [Variable] and the skin counts down. I've tried to edit balala's code but it's too much to get my head around! too bloody tired to think straight!
I would like a Meter to show the timer as in balala's skin, or even JSMorley's earlier code, with the end result putting PC into hibernation, which I can do. But all the setting options are unnecessary for me.
sl23 wrote: ↑July 1st, 2021, 9:04 pm
Thanks, I did come across this, but was hoping for non-lua code. But now I'm thinking, is the lua part just for the timer counting? So all other functions can be adjusted in the skin.ini? I'll take a look anyway...
You've said that you've seen jsmorley's code on the first page right in this thread. What did it miss? It is non-lua approach. To turnoff your computer at the end of a countdown just change or add a bang of IfTrueAction:
sl23 wrote: ↑July 1st, 2021, 9:50 pm
Sorry, I'm not that fluent with coding Rainmeter! I couldn't figure how to turn it into a straightforward countdown.
I've managed to change the TimerNixie skin to what I wanted, and it's pretty easy to use and adjust the code so I'll stick with that, thank you for your time
Oh I see what you mean now. Yeah that method would require more changes to the code so it will become more complicated. I think lua method is fine because even if you are not really good at making Rainmeter skins or lua you don't actually need to change anything in lua file itself. Simply plug the script into the code and copy-paste other bits of the skin
If you need any more help with this skin hesitate to ask!
It's basically used to restrict my sons PC time
PC shuts down after two hours or at 8:15, whichever comes first, with an alarm at 8:05 to allow time to prepare and save stuff.
Bad father
I am waiting for the day he realizes he can just ctrl + right click and unload that skin to stop his computer from shutting down.