Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1538

Help: Rainmeter Skins • Re: NetTotal - Reset once a month?

$
0
0
Not perfect, I know, but just in case it's of any use to anyone, here's my code for this. I stuck with my simple to use version that I can understand as I wouldn't have a clue how to sort out the RegEx, but thanks anyway. :thumbup:

Code:

[Rainmeter]Update=1000[Variables]Green=128,255,0Trans=0,0,0,1White=255,255,255,200Yellow=255,255,0; Set Date and Reset threshold in GB:Date=15NetTotal=2[sGlobalText]FontFace=Trebuchet MSStringStyle=BoldFontSize=9FontColor=#White100#AntiAlias=1DynamicVariables=1[mDate]Measure=TimeFormat=%#d[mNetTotalC]Measure=NetTotalCumulative=1IfCondition=(#CURRENTSECTION# > (#NetTotal#*1073741824)) && (mDate=#Date#); IfTrueAction=[!ResetStats][!UpdateMeter Text][!Redraw]; IfFalseAction=[!ResetStats][!UpdateMeter Text][!Redraw][Text]Meter=StringMeterStyle=sGlobalTextMeasureName=mDateMeasureName2=mNetTotalCSolidColor=#Trans#NumOfDecimals=2AutoScale=1Text="%1th - Total: %2B"ToolTipText=L - Refresh#CRLF#M2 - Reset StatsLeftMouseUpAction=[!Refresh]MiddleMouseDoubleClickAction=[!ResetStats]
Just uncomment the IfActions when you have set it up.

Statistics: Posted by sl23 — 28 minutes ago



Viewing all articles
Browse latest Browse all 1538

Trending Articles