Didn't follow too closely this topic, however I'm not sure what would you like to achieve with the above IfTrueAction2 option. Why the Disabled=1 has been posted after the [!Redraw] bang? Would you like to disable a measure? Which one?sl23 wrote: ↑July 23rd, 2021, 9:40 pmCode: Select all
... IfTrueAction2=[!SetOption TimerDisplay Text "#Message1##CRLF#%1:%2 %3"][#Alarm#][!Redraw]Disabled=1 ...
It is currently September 1st, 2024, 2:29 am
Simple countdown timer
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Simple countdown timer
-
- Posts: 1583
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Simple countdown timer
Copy paste error!
![LOL :lol:](./images/smilies/ap.gif)
It was part of the original Timer code, no idea it's purpose!
![Embarrassed :oops:](./images/smilies/ah.gif)
![LOL :lol:](./images/smilies/ap.gif)
It was part of the original Timer code, no idea it's purpose!
![Welcome :welcome:](./images/smilies/bs.gif)
-
- Rainmeter Sage
- Posts: 16485
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Simple countdown timer
Alright, recommend to remove it, even if doesn't cause troubles.
-
- Posts: 1583
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Simple countdown timer
I'm trying to get three more things to work on this. I need to adapt the existing timer for use on my own PC. Using the same code but with easier ways of adjusting and start stopping.
1. The plan was to allow start and stop via a toggle using LeftMouseDownAction=[!ToggleMeasureGroup Timers][!UpdateMeasureGroup Timers][!Redraw]. But this just pauses the meters whilst allowing the countdown timers to continue, meaning that when unpaused, the timer display jumps.
2. I'm also trying to use a MouseScrollUpAction to control the Hours, Minutes and Seconds individually when timer is stopped. But I just don't get what I'm supposed to be changing. What I am currently doing doesn't work.
3. Changing serially the methods of shutdown in the [Variables]. I think I'll be ok with this one though.
When my son comes to stay, it's always a hassle getting him off a game, so I'm looking at giving him a timer before the game closes. This part is something I can also do. I know, I know, bad dad!
Here's the skin code:
For points 1 + 2, check the sections [Action] , [HourAlarm] , [MinuteAlarm] and [SecondAlarm]
1. The plan was to allow start and stop via a toggle using LeftMouseDownAction=[!ToggleMeasureGroup Timers][!UpdateMeasureGroup Timers][!Redraw]. But this just pauses the meters whilst allowing the countdown timers to continue, meaning that when unpaused, the timer display jumps.
2. I'm also trying to use a MouseScrollUpAction to control the Hours, Minutes and Seconds individually when timer is stopped. But I just don't get what I'm supposed to be changing. What I am currently doing doesn't work.
3. Changing serially the methods of shutdown in the [Variables]. I think I'll be ok with this one though.
When my son comes to stay, it's always a hassle getting him off a game, so I'm looking at giving him a timer before the game closes. This part is something I can also do. I know, I know, bad dad!
![LOL :lol:](./images/smilies/ap.gif)
Here's the skin code:
![Welcome :welcome:](./images/smilies/bs.gif)
-
- Posts: 1583
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
-
- Posts: 1583
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Simple countdown timer
Sorry to bump, but could someone please help?
I'm wondering if I'm expecting too much with my expected functions 1 + 2 above. Are they even possible with the inclusion of the Lua script? I've tried everything and don't understand where the problem lies. I think it's likely a formula, but I have no idea where to start with these!![Embarrassed :oops:](./images/smilies/ah.gif)
I'm wondering if I'm expecting too much with my expected functions 1 + 2 above. Are they even possible with the inclusion of the Lua script? I've tried everything and don't understand where the problem lies. I think it's likely a formula, but I have no idea where to start with these!
![Embarrassed :oops:](./images/smilies/ah.gif)
![Welcome :welcome:](./images/smilies/bs.gif)
-
- Rainmeter Sage
- Posts: 8003
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Simple countdown timer
I think it's possible, but then I ALWAYS think stuff is possible. Give me some time and I'll take a look at it.sl23 wrote: ↑July 26th, 2021, 4:21 pm Sorry to bump, but could someone please help?
I'm wondering if I'm expecting too much with my expected functions 1 + 2 above. Are they even possible with the inclusion of the Lua script? I've tried everything and don't understand where the problem lies. I think it's likely a formula, but I have no idea where to start with these!![]()
![Wink ;-)](./images/smilies/innuendo.gif)
-
- Posts: 1583
- Joined: February 17th, 2011, 7:45 pm
- Location: a Galaxy S7 far far away
Re: Simple countdown timer
Thanks Yincognito, I was just about to give up! Thinking maybe I should just use balala's Countdown timer if he doesn't mind me editing it?
But if I could get this working, I would be very grateful.![Big Grin :D](./images/smilies/ag.gif)
But if I could get this working, I would be very grateful.
![Big Grin :D](./images/smilies/ag.gif)
![Welcome :welcome:](./images/smilies/bs.gif)
-
- Rainmeter Sage
- Posts: 1398
- Joined: April 24th, 2021, 8:13 pm
Re: Simple countdown timer
A full config including the lua would ave been helpful.
And Idk about the [!ToggleMeasureGroup Timers][!UpdateMeasureGroup Timers]. The first bang doesn't need to measure to update later. It will just disable the measures specified in the group right away.
from the Realm of Death
-
- Rainmeter Sage
- Posts: 8003
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Simple countdown timer
I guess it's TimerNixie of jsmorley, with the last INI code posted by sl23. At least that's the one I'm looking at, before smoking a cigar...death.crafter wrote: ↑July 26th, 2021, 5:06 pm A full config including the lua would ave been helpful.
![Confused :???:](./images/smilies/bw.gif)