So, here's a little code I made to can see this update moments:
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=80,80,80,220
AccurateText=1
DynamicWindowSize=1
[Variables]
Location=
Unit=
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=300
Url=http://weather.yahooapis.com/forecastrss?p=#Location#&u=#Unit#
RegExp="(?siU)<b>Current Conditions:</b><br />(.*), (.*)#Unit#<BR />.*<BR /><b>Forecast:</b><BR />.*(.*) - (.*). High: (.*) Low: (.*)<br />.*(.*) - (.*). High: (.*) Low: (.*)<br />.*(.*) - (.*). High: (.*) Low: (.*)<br />.*(.*) - (.*). High: (.*) Low: (.*)<br />.*(.*) - (.*). High: (.*) Low: (.*)<br />"
StringIndex=1
FinishAction=[!UpdateMeasure MeasureCurrentTime][!UpdateMeasure MeasureMain]
[MeasureCurrentTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=2
[MeasureCurrentTime]
Measure=Time
Format=locale-time
UpdateDivider=-1
OnChangeAction=[!WriteKeyValue Variables "Upd[MeasureMain2]" [MeasureCurrentTime] "#@#UpdateMoments.inc"]
DynamicVariables=1
[MeasureMain]
Measure=Calc
Formula=( MeasureMain + 1 )
UpdateDivider=-1
[MeasureMain2]
Measure=Calc
Formula=( MeasureMain - 1 )
[Meterstatus]
Meter=String
MeasureName=MeasureCurrentTime
MeasureName2=MeasureMain2
X=0
Y=0
Padding=10,5,10,5
FontColor=255,255,255
StringStyle=Bold
stringAlign=LEFT
AntiAlias=1
FontSize=11
FontFace=Segoe UI
Text=Last update: %1#CRLF#Update: %2
The code of UpdateMoments.inc is very simple:
Code: Select all
[Variables]
When I used this skin, I saw that sometimes the update moments can differ from the theoretical moments with seconds, or even with more.
I don't know if this is useful for anybody, I hope it is, but for me it was interesting to develope a code which can find these moments.
Please leave your comments.