From your previous posted image, I see you made a few changes to the display.
It may be best if you can post your current code for that skin for me to use as a starting point. Copy all of the skin code in your editor, then paste it in between code tags </> in reply.
I will look into the feasibility of your change requests in the meantime.
Regards...
Reworked the code to refresh when the day changes, matched titles to your posted image, added a calculation and display for 10 days prior, and modified previous first month critical to display "Past" instead of "0".
You may need to modify positions, but this should help with the changes you requested.
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
BackgroundMode=2
SolidColor=255,0,0,0
;*****************************
SkinWidth=341
SkinHeight=200
ContextTitle=Open @Includes Folder
ContextAction=["#@#"]
ContextTitle2=---
ContextAction2=[]
ContextTitle3=More Actions...
ContextAction3=[!SkinMenu]
RightMouseUpAction=!SkinCustomMenu
[Variables]
; Font Variables
TextFont=Fira Sans
MonoFont=Fira Mono
TextSize=12
; Color Variables
LabelColor=208,224,247
ValueColor=247,252,255,255
BarBackColor=#LabelColor#,75
BackgroundAlpha=200
BackgroundColor=0,0,0,#BackgroundAlpha#
; Positioning
Tab0=10
Tab1=115
Tab2=200
TabOffset=15
Term1Critical=13204938054
Term1End=13216382871
; ============== Measures ==============
; =====================================
[mTime]
Measure=Time
[mYear]
Measure=Time
Format=%#y
[mPreviousYear]
Measure=Calc
Formula=mYear-1
[mMonth]
Measure=Time
Format=%#m
[PreviousMonth1]
Measure=calc
Formula=((mMonth - 1 + 11) % 12) + 1
IfCondition=(#CurrentSection#>mMonth)
IfTrueAction=[!SetOption MeterPreviousMonth1 MeasureName2 "mPreviousYear"]
IfFalseAction=[!SetOption MeterPreviousMonth1 MeasureName2 "mYear"]
[PreviousMonth2]
Measure=calc
Formula=((mMonth - 2 + 11) % 12) + 1
IfCondition=(#CurrentSection#>mMonth)
IfTrueAction=[!SetOption MeterPreviousMonth2 MeasureName2 "mPreviousYear"]
IfFalseAction=[!SetOption MeterPreviousMonth2 MeasureName2 "mYear"]
[PreviousMonth3]
Measure=calc
Formula=((mMonth - 3 + 11) % 12) + 1
IfCondition=(#CurrentSection#>mMonth)
IfTrueAction=[!SetOption MeterPreviousMonth3 MeasureName2 "mPreviousYear"]
IfFalseAction=[!SetOption MeterPreviousMonth3 MeasureName2 "mYear"]
[PreviousMonth4]
Measure=calc
Formula=((mMonth - 4 + 11) % 12) + 1
IfCondition=(#CurrentSection#>mMonth)
IfTrueAction=[!SetOption MeterPreviousMonth4 MeasureName2 "mPreviousYear"]
IfFalseAction=[!SetOption MeterPreviousMonth4 MeasureName2 "mYear"]
[PreviousMonth5]
Measure=calc
Formula=((mMonth - 5 + 11) % 12) + 1
IfCondition=(#CurrentSection#>mMonth)
IfTrueAction=[!SetOption MeterPreviousMonth5 MeasureName2 "mPreviousYear"]
IfFalseAction=[!SetOption MeterPreviousMonth5 MeasureName2 "mYear"]
[mDay]
Measure=Time
Format=%#d
; Actions to create a new term, delete oldest term and set 45 day point
IfCondition=(#CurrentSection#=1)
IfTrueAction=[!EnableMeasureGroup NewTerm][!UpdateMeasureGroup NewTerm][!DisableMeasureGroup NewTerm]
OnChangeAction=[!Refresh]
[mTerm1Plus45Days]
Group=NewTerm
Measure=Calc
Formula=mTime + (45 * 86400)
OnUpdateAction=[!SetVariable Term1Critical [mTerm1Plus45Days]][!WriteKeyValue Variables Term1Critical [mTerm1Plus45Days]]
Disabled=1
[mTerm1CriticalDaysRemaining]
Measure=Calc
Formula=Round((#Term1Critical# - mTime)/86400)
[mPreviousTermCritical]
Measure=Calc
Formula=Clamp(mTerm1CriticalDaysRemaining - 30,0,15)
DynamicVariables=1
IfCondition=#CurrentSection#=0
IfTrueAction=[!SetOption MeterPreviousMonth1Critical Text Past]
[mTerm1End]
Group=NewTerm
Measure=Calc
Formula=mTime + 24 * 604800
OnUpdateAction=[!SetVariable Term1End [mTerm1End]][!WriteKeyValue Variables Term1End [mTerm1End]]
Disabled=1
[mTerm1WeeksRemaining]
Measure=Calc
Formula=Round((#Term1End# - mTime)/604800)
[mTerm2WeeksRemaining]
Measure=Calc
Formula=Clamp(mTerm1WeeksRemaining - 4,0,22)
[mTerm3WeeksRemaining]
Measure=Calc
Formula=Clamp(mTerm1WeeksRemaining - 8,0,22)
[mTerm4WeeksRemaining]
Measure=Calc
Formula=Clamp(mTerm1WeeksRemaining - 12,0,22)
[mTerm5WeeksRemaining]
Measure=Calc
Formula=Clamp(mTerm1WeeksRemaining - 16,0,22)
[mTerm6WeeksRemaining]
Measure=Calc
Formula=Clamp(mTerm1WeeksRemaining - 20,0,22)
[mTimeMinus10Days]
Measure=Calc
Formula=(mTime - (9 * 86400))
[mDateMinus10]
Measure=Time
Timestamp=[mTimeMinus10Days:TimeStamp]
Format=%m/%d/%y
DynamicVariables=1
; Meters
; =====================================
[MeterNetBackground]
Meter=Shape
;Shape=Rectangle 1,1,169,103,12 | Fill Color #BackgroundColor# | StrokeWidth 1 | Stroke Color #LabelColor#
Shape=Rectangle 1,1,260,170,12 | Fill Color #BackgroundColor# | StrokeWidth 1 | Stroke Color #LabelColor#
;X=(#NetOffSet#)
UpdateDivider=-1
DynamicVariables=1
;Term Start____ Weeks Left___ Critical Action
[MeterTitle1]
Meter=String
X=#Tab0#
Y=5
W=100
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=TERM
[MeterTitle2]
Meter=String
X=#Tab1#
Y=5
W=100
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=WKS
[MeterTitle3]
Meter=String
X=(#Tab2#+5)
Y=5
W=100
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=CA
[MeterPreviousMonth5]
Meter=String
MeasureName=PreviousMonth5
MeasureName2=mYear
X=#Tab0#
Y=20r
W=100
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1/1/%2
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth5WeeksLeft]
Meter=String
MeasureName=mTerm6WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth5Critical]
Meter=String
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=Past
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth4]
Meter=String
MeasureName=PreviousMonth4
MeasureName2=mYear
X=#Tab0#
Y=20r
W=105
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=%1/1/%2
[MeterPreviousMonth4WeeksLeft]
Meter=String
MeasureName=mTerm5WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth4Critical]
Meter=String
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=Past
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth3]
Meter=String
MeasureName=PreviousMonth3
MeasureName2=mYear
X=#Tab0#
Y=20r
W=105
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=%1/1/%2
[MeterPreviousMonth3WeeksLeft]
Meter=String
MeasureName=mTerm4WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth3Critical]
Meter=String
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=Past
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth2]
Meter=String
MeasureName=PreviousMonth2
MeasureName2=mYear
X=#Tab0#
Y=20r
W=105
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=%1/1/%2
[MeterPreviousMonth2WeeksLeft]
Meter=String
MeasureName=mTerm3WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth2Critical]
Meter=String
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=Past
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth1]
Meter=String
MeasureName=PreviousMonth1
MeasureName2=mYear
X=#Tab0#
Y=20r
W=105
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=%1/1/%2
[MeterPreviousMonth1WeeksLeft]
Meter=String
MeasureName=mTerm2WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterPreviousMonth1Critical]
Meter=String
MeasureName=mPreviousTermCritical
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterCurrentMonth]
Meter=String
MeasureName=mMonth
MeasureName2=mYear
X=#Tab0#
Y=20r
W=105
H=17
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
DynamicVariables=1
Text=%1/1/%2
[MeterCurrentMonthWeeksRemaining]
Meter=String
MeasureName=mTerm1WeeksRemaining
X=(#Tab1#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[MeterCurrentMonthCritical]
Meter=String
MeasureName=mTerm1CriticalDaysRemaining
X=(#Tab2#+#TabOffset#)
Y=r
W=100
H=17
StringAlign=Center
ClipString=1
SolidColor=0,0,0,1
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
Text=%1
AntiAlias=1
DynamicVariables=1
[Date10]
Meter=String
MeasureName=mDateMinus10
X=125
Y=20r
StringAlign=Center
InlineSetting=Face | #TextFont#
InlineSetting2=Size | #TextSize#
InlineSetting3=Color | #ValueColor#,255
AntiAlias=1
Text=Prior 10 Day Date: %1