Yes, but why I initially started to use this technic was that once I copied the Ifconditions from a measure to another and had to rewrite the measure names in all of them. Although not too hard (a simple copy - paste did the job), the #CURRENTSECTION# variable avoid the need of such a rewriting. Me personally prefer this approach since then, even if there is a little bit more work for Rainmeter.
It is currently May 4th, 2024, 10:35 am
Changing wallpaper with time
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Changing wallpaper with time
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Changing wallpaper with time
Yes, but if prefered, the place of equalities can be changed, to establish when exactly the wallpaper is changed.Yincognito wrote: ↑November 1st, 2020, 6:06 pm Actually, it won't, from an expected behavior point of view - and I think that was the problem. I just tested (got past 20:00 locally just now), and it didn't change the wallpaper immediately ... because it waited for a whole minute to do it. I think this might have been the issue in the first place, that's why I suggested approaching this based on the number of seconds in the day that passed.
That being said, it's not a tragedy, just a bit of delay, according to the code.
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Changing wallpaper with time
So, should we understand you got it working finally?
-
- Rainmeter Sage
- Posts: 7198
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: Changing wallpaper with time
Probably. Or add the seconds to the mix, so that the change is done right after passing 20:00:00, i.e. Format=%#H%M%S, and tweak the conditions accordingly.
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Changing wallpaper with time
As usually more solutions to the same problem. It's entirely up to zaxnite which one does he prefer...Yincognito wrote: ↑November 1st, 2020, 6:12 pm Probably. Or add the seconds to the mix, so that the change is done right after passing 20:00:00, i.e. Format=%#H%M%S, and tweak the conditions accordingly.
-
- Posts: 13
- Joined: November 1st, 2020, 4:37 pm
Re: Changing wallpaper with time
Thank you so much
-
- Posts: 13
- Joined: November 1st, 2020, 4:37 pm
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania