Seeking a way to create a custom report about name day.
The "ideal" would be the shape of the timestamp when the number data replaced the names from the list.
I want to replace a Windows gadget that reliably served me for years, but now I decided to entrust everything Rainmeter.
Functioning pattern (with numbers)
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureCurrentNumber]
Measure=Time
[MeasureCurrentFormatted]
Measure=Time
Format=%d%m
[MeasureTomorrowFormatted]
Measure=Time
TimeStamp=([MeasureCurrentNumber:] + 86400)
Format=%d%m
DynamicVariables=1
[MeasureAfterTomorrowFormatted]
Measure=Time
TimeStamp=([MeasureCurrentNumber:] + 172800)
Format=%d%m
DynamicVariables=1
[MeterTodayAndTomorrowAndAfterTomorrow]
Meter=String
FontSize=10
FontColor=255,255,255,255
SolidColor=47,47,47,150
Padding=5,5,5,5
AntiAlias=1
Text=Today: [MeasureCurrentFormatted]#CRLF#Tomorrow: [MeasureTomorrowFormatted]#CRLF#After Tomorrow: [MeasureAfterTomorrowFormatted]
DynamicVariables=1
As substitute for the unique numbers unique names?
Or other way?
It is currently September 29th, 2024, 11:30 am
Saint's day
-
- Posts: 2
- Joined: February 15th, 2015, 9:18 am
-
- Rainmeter Sage
- Posts: 16602
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Saint's day
I'd add to the skin a [Variables] section:
then add to [MeasureCurrentFormatted], [MeasureTomorrowFormatted] and [MeasureAfterTomorrowFormatted] sections the Substitute=#Subst# option. You'll have to enter into the Subst variable one pair for every day of the year. The Subst option will become very, very long, I don't know if it'll work properly.
Instead of entering a such long Subst variable, you should find a proper website and download the names. This way you can avoid a long variable.
Code: Select all
[Variables]
Subst="1502":"Jirina","1602":"Ljuba","1702":"Miroslava"
Instead of entering a such long Subst variable, you should find a proper website and download the names. This way you can avoid a long variable.
-
- Posts: 2
- Joined: February 15th, 2015, 9:18 am
-
- Rainmeter Sage
- Posts: 16602
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Saint's day
Congratulations! It's a long term work...swbear wrote:so far I've compiled a fourth year.