It is currently September 14th, 2024, 10:06 pm

[SOLVED]Skin won't show the correct day.

Get help with creating, editing & fixing problems with skins
Takinu
Posts: 8
Joined: October 9th, 2010, 2:34 pm

[SOLVED]Skin won't show the correct day.

Post by Takinu »

Hi! I just got rainmeter a few days ago and am loving it although I seem to be having a bit of trouble with this skin. The skin doesn't show the correct day of the month, instead it always it's the first. Now I know the installed skins with Gnometer and Enigma work perfectly but why won't this? Any help is much appreciated. :)

I'm using Rainmeter 1.2 on Windows 7 X64

Code: Select all

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=
Update=2000

@include=#SKINSPATH#Custom\Style.inc

[MeasureDay]
Measure=Time
Format="%d"
Substitute="01":"1st","02":"2nd","03":"3rd","04":"4th","05":"5th","06":"6th","07":"7th","08":"8th","09":"9th","10":"10th","11":"11th","12":"12th","13":"13th","14":"14th","15":"15th","16":"16th","17":"17th","18":"18th","19":"19th","20":"20th","21":"21st","22":"22nd","23":"23rd","24":"24th","25":"25th","26":"26th","27":"27th","28":"28th","29":"29th","30":"30th","31":"31st"

[MeasureTime]
Measure=Time
Format="%#H:%M, %A the"

; meters

[ShowTime]
Meter=STRING
MeterStyle=StyleDefault
MeasureName=MeasureTime
StyleAlign=Right
FontSize=12
FontFace=Canadra
FontColor=FFFFFF
Text="%1 [MeasureDay]."
X=0
Y=0
Last edited by Takinu on October 9th, 2010, 2:58 pm, edited 1 time in total.
Takinu
Posts: 8
Joined: October 9th, 2010, 2:34 pm

Re: Skin won't show the correct day.

Post by Takinu »

Sorry for making a new thread, just found out it's because I was trying to use a dynamic variable and that it wasn't enabled. >_<
poiru
Developer
Posts: 2873
Joined: April 17th, 2009, 12:18 pm

Re: [SOLVED]Skin won't show the correct day.

Post by poiru »

I know you solved it, but you could also do this (this method works without DynamicVariables):

Code: Select all

MeasureName=MeasureTime
MeasureName2=MeasureDay
Text="%1 %2."
Takinu
Posts: 8
Joined: October 9th, 2010, 2:34 pm

Re: [SOLVED]Skin won't show the correct day.

Post by Takinu »

poiru wrote:I know you solved it, but you could also do this (this method works without DynamicVariables):

Code: Select all

MeasureName=MeasureTime
MeasureName2=MeasureDay
Text="%1 %2."
Wow, that's even better. Thanks. :3