Hi,
Thanks for quick help and suggestions. After reading suggested content and reading some rainmeter manuals, I wrote a code.
But now facing an issue that rainmeter-skin is showing data from only 1st row of text file. For proper working of rainmeter-skin, coding needs to check each line in text file and compare the system date with each line of text file. But I don’t know how to do that!
What I Want?
Want to display data only match with system date, for example if I open my computer to 04 January 2024, it will display the all data related to only 04 January 2024, whether it is a single line or multiple entries.
Note:
1.Please see my text file content, I can change the data format for easiness and smooth working.
2.Any suggestion is welcome.
Yes! I am novice to programming, but willing to learn. any help is very appreciated.
Thanks in advance.
code.iniBook1.txt
Thanks for quick help and suggestions. After reading suggested content and reading some rainmeter manuals, I wrote a code.
But now facing an issue that rainmeter-skin is showing data from only 1st row of text file. For proper working of rainmeter-skin, coding needs to check each line in text file and compare the system date with each line of text file. But I don’t know how to do that!
What I Want?
Want to display data only match with system date, for example if I open my computer to 04 January 2024, it will display the all data related to only 04 January 2024, whether it is a single line or multiple entries.
Note:
1.Please see my text file content, I can change the data format for easiness and smooth working.
2.Any suggestion is welcome.
Yes! I am novice to programming, but willing to learn. any help is very appreciated.
Thanks in advance.
code.ini
Code:
[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[MeasureText]Measure=WebParserURL=file://#CURRENTPATH#Book1.txtRegExp=(?siU)<01>(.*)</01>.* <02>(.*)</02>.* <03>(.*)</03>.* <04>(.*)</04>.* <05>(.*)</05>.* <06>(.*)</06>.* <07>(.*)</07>UpdateRate=3600[Measure1]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=1Substitute="24":"2024", "1":"01" , "Jan":"January", "-":" "DynamicVariables=1[Measure2]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=2[Measure3]Measure=PluginPlugin=WebParserURL=file://#CURRENTPATH#[MeasureText]StringIndex=3Download=1[Measure4]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=4[Measure5]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=5[Measure6]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=6[Measure7]Measure=PluginPlugin=WebParserURL=[MeasureText]StringIndex=7[MeterBackground]Meter=ImageImageName=Background.pngW=420H=170[MeterOne]Meter=StringMeasureName=Measure1MeterStyle=StringStyleFontColor=255,255,255,255FontFace=Segoe UIFontSize=17StringEffect=ShadowFontEffectColor=0,0,0,255AntiAlias=1X=20Y=10[MeterTwo]Meter=StringMeasureName=Measure2MeterStyle=StringStyleFontColor=255,255,255,255FontFace=Segoe UIFontSize=17StringEffect=ShadowFontEffectColor=0,0,0,255AntiAlias=1X=115Y=50[MeterThree]Meter=ImageURL=#CURRENTPATH#[MeasureText]MeasureName=Measure3MeterStyle=StringStyleFontFace=Segoe UI VariableFontColor=220,220,220;StringStyle=BoldFontSize=20AntiAlias=1X=20Y=50W=85H=80[MeterFour]Meter=StringMeasureName=Measure4MeterStyle=StringStyleFontFace=Segoe UI VariableFontColor=220,220,220;StringStyle=BoldFontSize=16AntiAlias=1X=130Y=80[MeterFive]Meter=StringMeasureName=Measure5MeterStyle=StringStyleFontFace=Segoe UI VariableFontColor=220,220,220;StringStyle=BoldFontSize=12AntiAlias=1X=110Y=110[MeterSix]Meter=StringMeasureName=Measure6MeterStyle=StringStyleFontFace=Segoe UI VariableFontColor=220,220,220;StringStyle=BoldFontSize=12AntiAlias=1X=270Y=110[MeterSeven]Meter=StringMeasureName=Measure7MeterStyle=StringStyleFontFace=Segoe UI VariableFontColor=220,220,220;StringStyle=BoldFontSize=14AntiAlias=1X=20Y=135
Code:
<01>1-Jan-24</01> <02>Adam</02> <03>Adam.jpg</03> <04>New York</04> <05>START TIME: 4.30 PM</05> <06>END TIME: 6.30 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/4/2024 10.30 PM</07><01>2-Jan-24</01> <02>Clain</02> <03>Clain.jpg</03> <04>California</04> <05>START TIME: 12.50 PM</05> <06>END TIME: 3.30 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/15/2024 5.55 PM</07><01>3-Jan-24</01> <02>Rose</02> <03>Rose.jpg</03> <04>Florida</04> <05>START TIME: 3.30 PM</05> <06>END TIME: 5.09 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/10/2024 8.18 PM</07><01>4-Jan-24</01> <02>Donald</02> <03>Donald.jpg</03> <04>Georgia</04> <05>START TIME: 5.09 PM</05> <06>END TIME: 7.15 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/09/2024 10.30 PM</07><01>4-Jan-24</01> <02>Donald</02> <03>Donald.jpg</03> <04>Georgia</04> <05>START TIME: 2.10 PM</05> <06>END TIME: 4.13 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/25/2024 6.15 PM</07><01>6-Jan-24</01> <02>William</02> <03>William.jpg</03> <04>Kansas</04> <05>START TIME: 11.25 PM</05> <06>END TIME: 1.25 PM</06> <07>YOUR NEXT VISIT TIME IS: 1/18/2024 09.30 PM</07>
Statistics: Posted by OpenUser — 11 minutes ago