sl23 wrote: ↑July 1st, 2021, 8:34 pm
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.
I saw all replies posted in meantime, but here is a short description on what should you do. Just note that Rainmeter is definitely not the tool you should use to efficiently restrict your son on using the computer. Much versatile tools are out there. But just "for fun", here is the simplest way to achieve what you want. Note that probably many guys will post the disadvantages of this method and I don't contest them, but this is definitely the simplest way. In fact you need one single Calc measure, for instance the following one:
Code: Select all
Formula=( MeasureCount + 1 )
If you set in the [Variables] section the Delay variable (which is the time in minutes after which the action has to be executed, for instance Delay=60
for one hour), you need to add one single bang to the rest of your code, which will enable the above [MeasureCount] measure when you want to start the timer. For example modify the LeftMouseUpAction option of the [Rainmeter] section to LeftMouseUpAction=[!EnableMeasure "MeasureCount"]
And again: I don't contest the above method has its own disadvantages, it definitely has. However since you've asked for a simple way, this is in my opinion the simplest ever possible method. If interested and you want, please let me know for further assistance on how to exactly implement this in your skin.