It is currently April 28th, 2024, 4:26 pm

Enigma color problems

Get help with creating, editing & fixing problems with skins
General Tso
Posts: 3
Joined: February 15th, 2011, 6:51 am

Enigma color problems

Post by General Tso »

I'm new to Rainmeter and loving it. I've tried out a few skins and modified them to my liking.

Then I got Enigma and found it to be nice and clean and a good start point for modifying. But the colors will not cooperate. It's so easy with other skins. I've tried modifying two different files and the Enigma Configuration of course and can sometimes get colors to change, but specific "types" of colors refuse to change. And no matter what, they keep reverting back to this random green color that I can't find evidence of anywhere. What am I doing wrong? Is there a conflict somewhere?

Enigma.ini:
;------------------------------------------------------------------------------------------------
; ENIGMA

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000

[Metadata]
Name=Enigma
Config=Enigma
Description=A central access hub for skins and other resources in the Enigma suite.
Instructions=Click the tabs in the lower-right to switch skin lists. | If you're using an Enigma-based theme, double-click the Rainmeter tray icon to load Home.
Version=2.7
Tags=Home | Meta | Launcher | Help
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png

[Variables]
Font=HalfLife2
Color1=255, 255, 255, 217
Color2=255, 255, 255, 92
ColorActive=200, 200, 200, 192
ColorActiveDark=100, 100, 100, 217
ColorBorder=192, 192, 192, 128
Height1=9
Height2=7
ConfigVersion=2.7

; Base Body Positions
B1X=0
B1Y=33
MenuX=(#B1X#+15)
MenuY=(#B1Y#+105)
PanelX=(#B1X#+15)
PanelY=(#B1Y#+15)

InstructionsAction=["#SKINSPATH#Enigma\Resources\Documents\Instructions.pdf"]
SkinsAction=["#PROGRAMPATH#Addons\RainBrowser\RainBrowser.exe"]
ThemesAction=["#PROGRAMPATH#Addons\RainThemes\RainThemes.exe"]
ConfigAction=["#SKINSPATH#Enigma\Resources\Variables\EnigmaConfigure.exe"]
SupportAction=["http://forum.rainmeter.net/viewtopic.php?f=5&t=777"]
LicenseAction=["http://creativecommons.org/licenses/by-nc-sa/3.0/"]

ShowInstructions=[!RainmeterShowMeter InstructionsPreview][!RainmeterShowMeter InstructionsLink][!RainmeterShowMeter InstructionsCaption][!RainmeterShowMeter InstructionsDescription][!RainmeterHideMeter SkinsPreview][!RainmeterHideMeter SkinsLink][!RainmeterHideMeter SkinsCaption][!RainmeterHideMeter SkinsDescription][!RainmeterHideMeter ThemesPreview][!RainmeterHideMeter ThemesLink][!RainmeterHideMeter ThemesCaption][!RainmeterHideMeter ThemesDescription][!RainmeterHideMeter ConfigPreview][!RainmeterHideMeter ConfigLink][!RainmeterHideMeter ConfigCaption][!RainmeterHideMeter ConfigDescription][!RainmeterHideMeter SupportPreview][!RainmeterHideMeter SupportLink][!RainmeterHideMeter SupportCaption][!RainmeterHideMeter SupportDescription][!RainmeterHideMeter LicensePreview][!RainmeterHideMeter LicenseLink][!RainmeterHideMeter LicenseCaption][!RainmeterHideMeter LicenseDescription]
ShowSkins=[!RainmeterHideMeter InstructionsPreview][!RainmeterHideMeter InstructionsLink][!RainmeterHideMeter InstructionsCaption][!RainmeterHideMeter InstructionsDescription][!RainmeterShowMeter SkinsPreview][!RainmeterShowMeter SkinsLink][!RainmeterShowMeter SkinsCaption][!RainmeterShowMeter SkinsDescription][!RainmeterHideMeter ThemesPreview][!RainmeterHideMeter ThemesLink][!RainmeterHideMeter ThemesCaption][!RainmeterHideMeter ThemesDescription][!RainmeterHideMeter ConfigPreview][!RainmeterHideMeter ConfigLink][!RainmeterHideMeter ConfigCaption][!RainmeterHideMeter ConfigDescription][!RainmeterHideMeter SupportPreview][!RainmeterHideMeter SupportLink][!RainmeterHideMeter SupportCaption][!RainmeterHideMeter SupportDescription][!RainmeterHideMeter LicensePreview][!RainmeterHideMeter LicenseLink][!RainmeterHideMeter LicenseCaption][!RainmeterHideMeter LicenseDescription]
ShowThemes=[!RainmeterHideMeter InstructionsPreview][!RainmeterHideMeter InstructionsLink][!RainmeterHideMeter InstructionsCaption][!RainmeterHideMeter InstructionsDescription][!RainmeterHideMeter SkinsPreview][!RainmeterHideMeter SkinsLink][!RainmeterHideMeter SkinsCaption][!RainmeterHideMeter SkinsDescription][!RainmeterShowMeter ThemesPreview][!RainmeterShowMeter ThemesLink][!RainmeterShowMeter ThemesCaption][!RainmeterShowMeter ThemesDescription][!RainmeterHideMeter ConfigPreview][!RainmeterHideMeter ConfigLink][!RainmeterHideMeter ConfigCaption][!RainmeterHideMeter ConfigDescription][!RainmeterHideMeter SupportPreview][!RainmeterHideMeter SupportLink][!RainmeterHideMeter SupportCaption][!RainmeterHideMeter SupportDescription][!RainmeterHideMeter LicensePreview][!RainmeterHideMeter LicenseLink][!RainmeterHideMeter LicenseCaption][!RainmeterHideMeter LicenseDescription]
ShowConfig=[!RainmeterHideMeter InstructionsPreview][!RainmeterHideMeter InstructionsLink][!RainmeterHideMeter InstructionsCaption][!RainmeterHideMeter InstructionsDescription][!RainmeterHideMeter SkinsPreview][!RainmeterHideMeter SkinsLink][!RainmeterHideMeter SkinsCaption][!RainmeterHideMeter SkinsDescription][!RainmeterHideMeter ThemesPreview][!RainmeterHideMeter ThemesLink][!RainmeterHideMeter ThemesCaption][!RainmeterHideMeter ThemesDescription][!RainmeterShowMeter ConfigPreview][!RainmeterShowMeter ConfigLink][!RainmeterShowMeter ConfigCaption][!RainmeterShowMeter ConfigDescription][!RainmeterHideMeter SupportPreview][!RainmeterHideMeter SupportLink][!RainmeterHideMeter SupportCaption][!RainmeterHideMeter SupportDescription][!RainmeterHideMeter LicensePreview][!RainmeterHideMeter LicenseLink][!RainmeterHideMeter LicenseCaption][!RainmeterHideMeter LicenseDescription]
ShowSupport=[!RainmeterHideMeter InstructionsPreview][!RainmeterHideMeter InstructionsLink][!RainmeterHideMeter InstructionsCaption][!RainmeterHideMeter InstructionsDescription][!RainmeterHideMeter SkinsPreview][!RainmeterHideMeter SkinsLink][!RainmeterHideMeter SkinsCaption][!RainmeterHideMeter SkinsDescription][!RainmeterHideMeter ThemesPreview][!RainmeterHideMeter ThemesLink][!RainmeterHideMeter ThemesCaption][!RainmeterHideMeter ThemesDescription][!RainmeterHideMeter ConfigPreview][!RainmeterHideMeter ConfigLink][!RainmeterHideMeter ConfigCaption][!RainmeterHideMeter ConfigDescription][!RainmeterShowMeter SupportPreview][!RainmeterShowMeter SupportLink][!RainmeterShowMeter SupportCaption][!RainmeterShowMeter SupportDescription][!RainmeterHideMeter LicensePreview][!RainmeterHideMeter LicenseLink][!RainmeterHideMeter LicenseCaption][!RainmeterHideMeter LicenseDescription]
ShowLicense=[!RainmeterHideMeter InstructionsPreview][!RainmeterHideMeter InstructionsLink][!RainmeterHideMeter InstructionsCaption][!RainmeterHideMeter InstructionsDescription][!RainmeterHideMeter SkinsPreview][!RainmeterHideMeter SkinsLink][!RainmeterHideMeter SkinsCaption][!RainmeterHideMeter SkinsDescription][!RainmeterHideMeter ThemesPreview][!RainmeterHideMeter ThemesLink][!RainmeterHideMeter ThemesCaption][!RainmeterHideMeter ThemesDescription][!RainmeterHideMeter ConfigPreview][!RainmeterHideMeter ConfigLink][!RainmeterHideMeter ConfigCaption][!RainmeterHideMeter ConfigDescription][!RainmeterHideMeter SupportPreview][!RainmeterHideMeter SupportLink][!RainmeterHideMeter SupportCaption][!RainmeterHideMeter SupportDescription][!RainmeterShowMeter LicensePreview][!RainmeterShowMeter LicenseLink][!RainmeterShowMeter LicenseCaption][!RainmeterShowMeter LicenseDescription]

; ------------------------------------------------------------------------------------------------
; STYLES

[StyleMenu]
X=69r
Y=#MenuY#
W=25
H=25

[StyleLink]
X=80r
Y=20r
FontFace=#Font#
FontSize=#Height1#
FontColor=#ColorActive#
FontStyle=NORMAL
StringStyle=BOLD
StringAlign=LEFT
StringEffect=SHADOW
AntiAlias=1

[StyleLinkActive]
X=r
Y=r
FontFace=#Font#
FontSize=#Height1#
FontColor=#Color1#
FontStyle=NORMAL
StringStyle=BOLD
StringAlign=LEFT
AntiAlias=1
Hidden=1

[StyleCaption]
X=r
Y=15r
FontFace=#Font#
FontSize=#Height2#
FontColor=#Color2#
FontStyle=NORMAL
StringStyle=BOLD
StringAlign=LEFT
StringEffect=SHADOW
AntiAlias=1
W=150
H=30
ClipString=1

[StyleDescription]
X=215
Y=-15r
FontFace=#Font#
FontSize=#Height2#
FontColor=#Color1#
FontStyle=NORMAL
StringStyle=BOLD
StringAlign=LEFT
StringEffect=SHADOW
AntiAlias=1
W=170
H=40
ClipString=1

; ------------------------------------------------------------------------------------------------
; METERS

;-------------------------
; TITLE

[TitleBackground]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Taskbar\NootoVS Taskbar.jpg
X=0
H=33
W=400

[TitleBackgroundFilter]
Meter=IMAGE
SolidColor=0,0,0,128
X=r
Y=r
H=33
W=400

[TitlePanel]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Taskbar\NootoVS Taskbar.jpg
X=80
H=33
W=240

[Title]
Meter=STRING
X=200
Y=4
StringStyle=BOLD
StringAlign=CENTER
FontColor=#Color1#
FontSize=15
FontFace=Trebuchet MS
AntiAlias=1
Text="E N I G M A"

[Close]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Close.png
X=375
Y=10
LeftMouseDownAction=!Execute [!RainmeterHideMeter Close][!RainmeterShowMeter CloseActive][!RainmeterRedraw]

[CloseActive]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\CloseActive.png
X=375
Y=10
LeftMouseUpAction=!Execute [!RainmeterDeactivateConfig][!RainmeterHideMeter CloseActive][!RainmeterShowMeter Close][!RainmeterRedraw]
Hidden=1

;-----------------------
; BODY

[BodyBackground]
Meter=IMAGE
SolidColor=0,0,0,192
X=(#B1X#)
Y=(#B1Y#)
W=400
H=100

[Border1Topline]
Meter=IMAGE
SolidColor=192, 192, 192, 92
X=#B1X#
Y=#B1Y#
H=1
W=400

[Border5Left]
Meter=IMAGE
SolidColor=192, 192, 192, 92
X=#B1X#
Y=(#B1Y# + 1)
H=99
W=1
Hidden=1

[Border6Center]
Meter=IMAGE
MeterStyle=Border5Left
X=(#B1X# + 200)

[Border7Right]
Meter=IMAGE
MeterStyle=Border5Left
X=(#B1X# + 399)

[Border2Bottomline]
Meter=IMAGE
SolidColor=192, 192, 192, 92
X=#B1X#
Y=(#B1Y# + 99)
H=1
W=400

;-------------------------
; MENU

[MenuArrow]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\MenuArrow.png
X=(#B1X#+18)
Y=(#B1Y#+88)
W=20
H=15

[MenuBackground]
Meter=IMAGE
MeterStyle=TitleBackground
Y=(#B1Y#+100)

[MenuBackgroundFilter]
Meter=IMAGE
MeterStyle=TitleBackgroundFilter

[Instructions]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Instructions.png
X=#MenuX#
LeftMouseDownAction=!Execute #InstructionsAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 18 121 MenuArrow]#ShowInstructions#[!RainmeterRedraw]

[Skins]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Skins.png
LeftMouseDownAction=!Execute #SkinsAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 87 121 MenuArrow]#ShowSkins#[!RainmeterRedraw]

[Themes]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Themes.png
LeftMouseDownAction=!Execute #ThemesAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 156 121 MenuArrow]#ShowThemes#[!RainmeterRedraw]

[Config]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Config.png
LeftMouseDownAction=!Execute #ConfigAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 225 121 MenuArrow]#ShowConfig#[!RainmeterRedraw]

[Support]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\Support.png
LeftMouseDownAction=!Execute #SupportAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 294 121 MenuArrow]#ShowSupport#[!RainmeterRedraw]

[License]
Meter=IMAGE
MeterStyle=StyleMenu
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\CC.png
LeftMouseDownAction=!Execute #LicenseAction#[!RainmeterRedraw]
MouseOverAction=!Execute [!RainmeterMoveMeter 363 121 MenuArrow]#ShowLicense#[!RainmeterRedraw]

;-----------------------
; Instructions

[InstructionsPreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevInstructions.png
X=#PanelX#
Y=#PanelY#
LeftMouseDownAction=!Execute #InstructionsAction#[!RainmeterRedraw]

[InstructionsLink]
Meter=STRING
MeterStyle=StyleLink
Text="Instructions"
LeftMouseDownAction=!Execute [!RainmeterShowMeter InstructionsLinkActive][!RainmeterHideMeter InstructionsLink][!RainmeterRedraw]

[InstructionsLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Instructions"
LeftMouseUpAction=!Execute #InstructionsAction#[!RainmeterHideMeter InstructionsLinkActive][!RainmeterShowMeter InstructionsLink][!RainmeterRedraw]

[InstructionsCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Open PDF"

[InstructionsDescription]
Meter=STRING
MeterStyle=StyleDescription
Text="In the official guide, you can read more about using both Enigma and Rainmeter in general."

;-----------------------
; Skins

[SkinsPreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevSkins.png
X=#PanelX#
Y=#PanelY#
Hidden=1
LeftMouseDownAction=!Execute #SkinsAction#[!RainmeterRedraw]

[SkinsLink]
Meter=STRING
MeterStyle=StyleLink
Text="Skins"
LeftMouseDownAction=!Execute [!RainmeterShowMeter SkinsLinkActive][!RainmeterHideMeter SkinsLink][!RainmeterRedraw]
Hidden=1

[SkinsLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Skins"
LeftMouseUpAction=!Execute #SkinsAction#[!RainmeterHideMeter SkinsLinkActive][!RainmeterShowMeter SkinsLink][!RainmeterRedraw]
Hidden=1

[SkinsCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Launch RainBrowser"
Hidden=1

[SkinsDescription]
Meter=STRING
MeterStyle=StyleDescription
Text="Use Rainmeter's built-in skin manager to browse, load, organize and edit your library of skins."
Hidden=1

;-----------------------
; Themes

[ThemesPreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevThemes.png
X=#PanelX#
Y=#PanelY#
Hidden=1
LeftMouseDownAction=!Execute #ThemesAction#[!RainmeterRedraw]

[ThemesLink]
Meter=STRING
MeterStyle=StyleLink
Text="Themes"
LeftMouseDownAction=!Execute [!RainmeterShowMeter ThemesLinkActive][!RainmeterHideMeter ThemesLink][!RainmeterRedraw]
Hidden=1

[ThemesLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Themes"
LeftMouseUpAction=!Execute #ThemesAction#[!RainmeterHideMeter ThemesLinkActive][!RainmeterShowMeter ThemesLink][!RainmeterRedraw]
Hidden=1

[ThemesCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Launch RainThemes"
Hidden=1

[ThemesDescription]
Meter=STRING
MeterStyle=StyleDescription
Text="Use Rainmeter's theme manager to save and load your setups, or load a prearranged template."
Hidden=1

;-----------------------
; Config

[ConfigPreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevConfig.png
X=#PanelX#
Y=#PanelY#
Hidden=1
LeftMouseDownAction=!Execute #ConfigAction#[!RainmeterRedraw]

[ConfigLink]
Meter=STRING
MeterStyle=StyleLink
Text="Configuration"
LeftMouseDownAction=!Execute [!RainmeterShowMeter ConfigLinkActive][!RainmeterHideMeter ConfigLink][!RainmeterRedraw]
Hidden=1

[ConfigLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Configuration"
LeftMouseUpAction=!Execute #ConfigAction#[!RainmeterHideMeter ConfigLinkActive][!RainmeterShowMeter ConfigLink][!RainmeterRedraw]
Hidden=1

[ConfigCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Launch RainConfigure"
Hidden=1

[ConfigDescription]
Meter=STRING
MeterStyle=StyleDescription
Text="Set or change your personal settings for Enigma, including colors, Google login details, and weather code."
Hidden=1

;-----------------------
; Support

[SupportPreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevSupport.png
X=#PanelX#
Y=#PanelY#
Hidden=1
LeftMouseDownAction=!Execute #SupportAction#[!RainmeterRedraw]

[SupportLink]
Meter=STRING
MeterStyle=StyleLink
Text="Support"
LeftMouseDownAction=!Execute [!RainmeterShowMeter SupportLinkActive][!RainmeterHideMeter SupportLink][!RainmeterRedraw]
Hidden=1

[SupportLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Support"
LeftMouseUpAction=!Execute #SupportAction#[!RainmeterHideMeter SupportLinkActive][!RainmeterShowMeter SupportLink][!RainmeterRedraw]
Hidden=1

[SupportCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Open Rainmeter.net"
Hidden=1

[SupportDescription]
Meter=STRING
MeterStyle=StyleDescription
Text="Need help? Visit Enigma's official thread for an FAQ and support from the Rainmeter community."
Hidden=1

;-----------------------
; License

[LicensePreview]
Meter=IMAGE
ImageName=#SKINSPATH#Enigma\Resources\Images\Home\PrevLicense.png
X=#PanelX#
Y=#PanelY#
Hidden=1
LeftMouseDownAction=!Execute #LicenceAction#[!RainmeterRedraw]

[LicenseLink]
Meter=STRING
MeterStyle=StyleLink
Text="Creative Commons"
LeftMouseDownAction=!Execute [!RainmeterShowMeter LicenseLinkActive][!RainmeterHideMeter LicenseLink][!RainmeterRedraw]
Hidden=1

[LicenseLinkActive]
Meter=STRING
MeterStyle=StyleLinkActive
Text="Creative Commons"
LeftMouseUpAction=!Execute #LicenseAction#[!RainmeterHideMeter LicenseLinkActive][!RainmeterShowMeter LicenseLink][!RainmeterRedraw]
Hidden=1

[LicenseCaption]
Meter=STRING
MeterStyle=StyleCaption
Text="Read License"
Hidden=1

[LicenseDescription]
Meter=STRING
MeterStyle=StyleDescription
Y=(#PanelY#+12)
H=50
Text="Enigma #ConfigVersion# is released under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License."
Hidden=1
And as an example (other Configs do this too, such as the Now Playing config) - Calendar+.ini (the current month's days and the days of the week are what turn green):
;-----------------------
; ENIGMA CALENDAR
; Class: Sidebar

; Special thanks to ~limpet for donating this skin to Enigma.
; Thanks also to smurfier for recent modifications.

; ORIGINAL AUTHOR'S STATEMENT
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;Calendar for "Enigma" sidebar
;Block shape to fit 190px sidebar but only takes up 180px
;Inspired by HUD Vision and Enigma
;
;notes-----------------------
;http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.71).aspx
;http://www.geocities.com/sohaelbabwani/algorithm.html
;
;I tried to be helpful in providing notes in what everything does.
;Not fully tested.
;
;Jan 2nd 09: v0.2 - fixed most bugs concerning when a date is displayed. 3rd wednesday still refuses to be highlighted. Also tweaked day alignment slightly.
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[Rainmeter]
Author=hatbocs@gmail.com
AppVersion=1001000
;Update the calendar every .5 seconds
Update=500
BackgroundMode=2
SolidColor=0,0,0,1
BevelType=0
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Calendar-Week.ini

[Metadata]
Name=Calendar | Month
Config=Enigma | Sidebar | Calendar
Description=This visual calendar skin displays dates and weekdays. | The "Week" variant shows only this week.
Version=2.7
Tags=Time | Sidebar | Calendar
Variant=3
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png

;==========================================================
[Variables]
;Enigma Universal Variables
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
;Day text properties
DayText.hilight=255, 255, 255, 75
;General text formatting
;Used mainly for day labels
Text.Color=#Color2#
Text.Color2=255,255,255,128
;Align weekday x
;Aligns the days vertically along each column that makes up the days of the week
pSu.x=18
pMo.x=43
pTu.x=72
pWe.x=99
pTh.x=125
pFr.x=152
pSa.x=178
;Align week y
;Aligns the days horizontally along each row
pW1.y=33
pW2.y=53
pW3.y=73
pW4.y=93
pW5.y=113
pW6.y=133
;Spacing between each label
;Can also be used to change overall width. Manually adjust date alignments if done, though.
pxS=27
;Enable or Disable extra days on Calendar
;0 to disable, 1 to enable
E.Days=1

;Meter Styles =========================================

[LabelBGStyle]
Y=13
W=16
H=16
SolidColor=255, 255, 255, 25

[LabelStyle]
Y=15
FontColor=#Color1#
FontFace=HalfLife2
FontSize=8
stringAlign=center
stringStyle=normal
AntiAlias=1

[TextStyle]
FontFace=HalfLife2
FontSize=10
stringAlign=right
stringStyle=normal
AntiAlias=1

;Measures ==============================================
[cCentury]
;mod(century , 4) century assumed 20 for 2000. If this is ever used in the 2100s then change to 21. That's a big if.
Measure=calc
Formula=(20%4)

[mYear]
;Gets current year in ## format. ex: 08
Measure=time
Format=%y

[mMonth]
;Gets current month without leading zero. ex: 8
Measure=time
Format=%#m

[mDay]
;Gets current day without leading zero. ex 8
Measure=time
Format=%#d

[cLeapYear]
;Returns 1 if leap year or 0 if not
Measure=calc
Formula=((mYear%4 = 0) && (mYear%100 <> 0) || (mYear%400 = 0))

[cMonthCode]
;Turns month "code" according to notes
Measure=calc
Formula=((mMonth = 3) || (mMonth = 11)) ? 3 : (((mMonth = 4) || (mMonth = 7)) ? 6 : ((mMonth = 5) ? 1 : ((mMonth = 6) ? 4 : ((mMonth = 8) ? 2 : (((mMonth = 9) || (mMonth = 12)) ? 5 : ((mMonth = 10) ? 0 : (cLeapYear ? ((mMonth = 1) ? 6 : 2) : ((mMonth = 1) ? 0 : 3))))))))

[cMonthStartDay]
;Determines which day of the week a month starts. Used in week one to turn off days not in the current month
Measure=calc
Formula=(FLOOR((5*mYear)/4)+cMonthCode+1-(2*cCentury))%7

[cMonthStart]
;Used to help determine day a month starts. If the day of the week is 0 or Saturday then return 7 (for day 7 in a traditional sense) otherwise return the other "coded" day of the week.
Measure=calc
Formula=(cMonthStartDay = 0) ? 7 : cMonthStartDay

[mDayCount]
Measure=calc
Formula=((mMonth = 4) || (mMonth = 6) || (mMonth = 9) || (mMonth = 11)) ? 30 : ((mMonth = 2) ? (cLeapYear ? 29 : 28) : 31)

[mDayCount2]
Measure=calc
Formula=((mMonth-1 = 4) || (mMonth-1 = 6) || (mMonth-1 = 9) || (mMonth-1 = 11)) ? 30 : ((mMonth-1 = 2) ? (cLeapYear ? 29 : 28) : 31)

[msWeekNum]
Measure=CALC
Formula=7 - (cMonthStart - 1)

[msWeek]
Measure=CALC
Formula=mDay <= msWeekNum ? #pW1.y# : ((mDay > msWeekNum) && (mDay <= (msWeekNum + 7)) ? #pW2.y# :((mDay > (msWeekNum +7)) && (mDay <= (msWeekNum + 14)) ? #pW3.y# :((mDay > (msWeekNum +14)) && (mDay <= (msWeekNum + 21)) ? #pW4.y# :((mDay > (msWeekNum +21)) && (mDay <= (msWeekNum + 28)) ? #pW5.y# : #pW6.y#))))

[msWeekDay]
Measure=TIME
Format=%#w

[msWeekDay2]
Measure=CALC
Formula=msWeekDay=0 ? #pSu.x# :(msWeekDay=1 ? #pMo.x# : (msWeekDay=2 ? #pTu.x# : (msWeekDay=3 ? #pWe.x# : (msWeekDay=4 ? #pTh.x# : (msWeekDay=5 ? #pFr.x# : #pSa.x#)))))

;Day of Month Indicator------------------------------------

[TodayHL]
Meter=image
X=([msWeekDay2] - 15)
Y=([msWeek] + 14)
H=2
W=10
SolidColor=255,255,255,128
;SolidColor=255,255,255,128
DynamicVariables=1

;Week 1 Begin----------------------------------------------
[cDay00]
;Sunday in week 1
;r = a - n [a/n] where a%n
;Checks if day is less than month start if less than then hide
Measure=calc
Formula=1-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((1-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay00b]
Measure=calc
Formula=(cMonthStart <= 1) ? cDay00 : (cDay00 > 0 ? mDayCount2 + (cDay00 - 7) : mDayCount2)

[cDay00Draw]
Measure=calc
Formula=(cMonthStart <= 1) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay00][!RainmeterShowMeter mDay00b][!RainmeterEnableMeasure cDay00b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay00][!RainmeterHideMeter mDay00b][!RainmeterEnableMeasure cDay00b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay00][!RainmeterHideMeter mDay00b][!RainmeterDisableMeasure cDay00b]

[mDay00]
Meter=string
MeasureName=cDay00b
X=#pSu.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay00b]
Meter=string
MeasureName=cDay00b
X=#pSu.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay01]
;Monday in week 1
Measure=calc
Formula=2-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((2-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay01b]
Measure=calc
Formula=(cMonthStart <= 2) ? cDay01 : (cDay01 > 0 ? mDayCount2 + (cDay01 - 7) : mDayCount2)

[cDay01Draw]
Measure=calc
Formula=(cMonthStart <= 2) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay01][!RainmeterShowMeter mDay01b][!RainmeterEnableMeasure cDay01b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay01][!RainmeterHideMeter mDay01b][!RainmeterEnableMeasure cDay01b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay01][!RainmeterHideMeter mDay01b][!RainmeterDisableMeasure cDay01b]

[mDay01]
Meter=string
MeasureName=cDay01
X=#pMo.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay01b]
Meter=string
MeasureName=cDay01b
X=#pMo.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay02]
;Tuesday in week 1
Measure=calc
Formula=3-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((3-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay02b]
Measure=calc
Formula=(cMonthStart <= 3) ? cDay02 : (cDay02 > 0 ? mDayCount2 + (cDay02 - 7) : mDayCount2)

[cDay02Draw]
Measure=calc
Formula=(cMonthStart <= 3) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay02][!RainmeterShowMeter mDay02b][!RainmeterEnableMeasure cDay02b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay02][!RainmeterHideMeter mDay02b][!RainmeterEnableMeasure cDay02b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay02][!RainmeterHideMeter mDay02b][!RainmeterDisableMeasure cDay02b]

[mDay02]
Meter=string
MeasureName=cDay02b
X=#pTu.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay02b]
Meter=string
MeasureName=cDay02b
X=#pTu.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#


[cDay03]
;Wednesday in week 1
Measure=calc
Formula=4-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((4-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay03b]
Measure=calc
Formula=(cMonthStart <= 4) ? cDay03 : (cDay03 > 0 ? mDayCount2 + (cDay03 - 7) : mDayCount2)

[cDay03Draw]
Measure=calc
Formula=(cMonthStart <= 4) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay03][!RainmeterShowMeter mDay03b][!RainmeterEnableMeasure cDay03b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay03][!RainmeterHideMeter mDay03b][!RainmeterEnableMeasure cDay03b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay03][!RainmeterHideMeter mDay03b][!RainmeterDisableMeasure cDay03b]

[mDay03]
Meter=string
MeasureName=cDay03b
X=#pWe.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay03b]
Meter=string
MeasureName=cDay03b
X=#pWe.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay04]
;Thursday in week 1
Measure=calc
Formula=5-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((5-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay04b]
Measure=calc
Formula=(cMonthStart <= 5) ? cDay04 : (cDay04 > 0 ? mDayCount2 + (cDay04 - 7) : mDayCount2)

[cDay04Draw]
Measure=calc
Formula=(cMonthStart <= 5) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay04][!RainmeterShowMeter mDay04b][!RainmeterEnableMeasure cDay04b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay04][!RainmeterHideMeter mDay04b][!RainmeterEnableMeasure cDay04b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay04][!RainmeterHideMeter mDay04b][!RainmeterDisableMeasure cDay04b]

[mDay04]
Meter=string
MeasureName=cDay04b
X=#pTh.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay04b]
Meter=string
MeasureName=cDay04b
X=#pTh.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay05]
;Friday in week 1
Measure=calc
Formula=6-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((6-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)

[cDay05b]
Measure=calc
Formula=(cMonthStart <= 6) ? cDay05 : (cDay05 > 0 ? mDayCount2 + (cDay05 - 7) : mDayCount2)

[cDay05Draw]
Measure=calc
Formula=(cMonthStart <= 6) ? 1 :(#E.Days# = 0 ? 0 : -1)
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay05][!RainmeterShowMeter mDay05b][!RainmeterEnableMeasure cDay05b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay05][!RainmeterHideMeter mDay05b][!RainmeterEnableMeasure cDay05b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay05][!RainmeterHideMeter mDay05b][!RainmeterDisableMeasure cDay05b]

[mDay05]
Meter=string
MeasureName=cDay05b
X=#pFr.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay05b]
Meter=string
MeasureName=cDay05b
X=#pFr.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay06]
;Saturday in week 1
Measure=calc
Formula=(0-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((0-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7)) = 0 ? 7 : (0-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury)-7*FLOOR((0-FLOOR((5*mYear)/4)-cMonthCode+(2*cCentury))/7))

[cDay06Draw]
Measure=calc
Formula=(cMonthStart <= 7) ? 1 : -1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay06][!RainmeterHideMeter TodayHL06]
IfAboveValue=0
IfAboveAction=!RainmeterShowMeter mDay06
Disabled=1

[mDay06]
Meter=string
MeasureName=cDay06
X=#pSa.x#
Y=#pW1.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

;Week 2 Begin----------------------------------------------
[cDay10]
;Sunday in week 2
;Try simply adding 1 to Day06
;No need to worry about calculating if day exists until 28th
Measure=calc
Formula=cDay06+1

[mDay10]
Meter=string
MeasureName=cDay10
X=#pSu.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay11]
;Monday in week 2
;Try simply adding 1 to previous
Measure=calc
Formula=cDay10+1

[mDay11]
Meter=string
MeasureName=cDay11
X=#pMo.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay12]
;Tuesday in week 2
Measure=calc
Formula=cDay11+1

[mDay12]
Meter=string
MeasureName=cDay12
X=#pTu.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay13]
;Wednesday in week 2
Measure=calc
Formula=cDay12+1

[mDay13]
Meter=string
MeasureName=cDay13
X=#pWe.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay14]
;Thursday in week 2
Measure=calc
Formula=cDay13+1

[mDay14]
Meter=string
MeasureName=cDay14
X=#pTh.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay15]
;Friday in week 2
Measure=calc
Formula=cDay14+1

[mDay15]
Meter=string
MeasureName=cDay15
X=#pFr.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay16]
;Saturday in week 2
Measure=calc
Formula=cDay15+1

[mDay16]
Meter=string
MeasureName=cDay16
X=#pSa.x#
Y=#pW2.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

;Week 3 Begin----------------------------------------------
[cDay20]
;Sunday in week 3
;Keep adding one
;No need to worry about calculating if day exists until 28th
Measure=calc
Formula=cDay16 + 1

[mDay20]
Meter=string
MeasureName=cDay20
X=#pSu.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay21]
;Monday in week 3
Measure=calc
Formula=cDay20 + 1

[mDay21]
Meter=string
MeasureName=cDay21
X=#pMo.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay22]
;Tuesday in week 3
Measure=calc
Formula=cDay21 + 1

[mDay22]
Meter=string
MeasureName=cDay22
X=#pTu.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay23]
;Wednesday in week 3
Measure=calc
Formula=cDay22 + 1

[mDay23]
Meter=string
MeasureName=cDay23
X=#pWe.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay24]
;Thursday in week 3
Measure=calc
Formula=cDay23 + 1

[mDay24]
Meter=string
MeasureName=cDay24
X=#pTh.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay25]
;Friday in week 3
Measure=calc
Formula=cDay24 + 1

[mDay25]
Meter=string
MeasureName=cDay25
X=#pFr.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay26]
;Saturday in week 3
Measure=calc
Formula=cDay25 + 1

[mDay26]
Meter=string
MeasureName=cDay26
X=#pSa.x#
Y=#pW3.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

;Week 4 Begin----------------------------------------------
[cDay30]
;Sunday in Week 4
;Keep adding one
;No need to worry about calculating if day exists until 28th
Measure=calc
Formula=cDay26 + 1

[mDay30]
Meter=string
MeasureName=cDay30
X=#pSu.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay31]
;Monday in Week 4
Measure=calc
Formula=cDay30 + 1

[mDay31]
Meter=string
MeasureName=cDay31
X=#pMo.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay32]
;Tuesday in Week 4
Measure=calc
Formula=cDay31 + 1

[mDay32]
Meter=string
MeasureName=cDay32
X=#pTu.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay33]
;Wednesday in Week 4
Measure=calc
Formula=cDay32 + 1

[mDay33]
Meter=string
MeasureName=cDay33
X=#pWe.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay34]
;Thursday in Week 4
Measure=calc
Formula=cDay33 + 1

[mDay34]
Meter=string
MeasureName=cDay34
X=#pTh.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay35]
;Friday in Week 4
Measure=calc
Formula=cDay34 + 1

[mDay35]
Meter=string
MeasureName=cDay35
X=#pFr.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay36]
;Saturday in Week 4
Measure=calc
Formula=cDay35 + 1

[mDay36]
Meter=string
MeasureName=cDay36
X=#pSa.x#
Y=#pW4.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[cDay40];Week 5 Begin----------------------------------------------
;Sunday in Week 5
;28th likely to occur so test for 28th
Measure=calc
Formula=cDay36 + 1

[cDay40b]
Measure=calc
Formula=cDay40 > mDayCount ? cDay40-mDayCount : cDay40

[cDay40Draw]
Measure=calc
Formula=(cDay40 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay40][!RainmeterShowMeter mDay40b][!RainmeterEnableMeasure cDay40b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay40][!RainmeterHideMeter mDay40b][!RainmeterEnableMeasure cDay40b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay40][!RainmeterHideMeter mDay40b][!RainmeterDisableMeasure cDay40b]

[mDay40]
Meter=string
MeasureName=cDay40b
X=#pSu.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay40b]
Meter=string
MeasureName=cDay40b
X=#pSu.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay41]
;Monday in Week 5
Measure=calc
Formula=cDay40 + 1

[cDay41b]
Measure=calc
Formula=cDay41 > mDayCount ? cDay41-mDayCount : cDay41

[cDay41Draw]
Measure=calc
Formula=(cDay41 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay41][!RainmeterShowMeter mDay41b][!RainmeterEnableMeasure cDay41b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay41][!RainmeterHideMeter mDay41b][!RainmeterEnableMeasure cDay41b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay41][!RainmeterHideMeter mDay41b][!RainmeterDisableMeasure cDay41b]

[mDay41]
Meter=string
MeasureName=cDay41b
X=#pMo.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay41b]
Meter=string
MeasureName=cDay41b
X=#pMo.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay42]
;Tuesday in Week 5
Measure=calc
Formula=cDay41 + 1

[cDay42b]
Measure=calc
Formula=cDay42 > mDayCount ? cDay42-mDayCount : cDay42

[cDay42Draw]
Measure=calc
Formula=(cDay42 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay42][!RainmeterShowMeter mDay42b][!RainmeterEnableMeasure cDay42b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay42][!RainmeterHideMeter mDay42b][!RainmeterEnableMeasure cDay42b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay42][!RainmeterHideMeter mDay42b][!RainmeterDisableMeasure cDay42b]

[mDay42]
Meter=string
MeasureName=cDay42b
X=#pTu.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay42b]
Meter=string
MeasureName=cDay42b
X=#pTu.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay43]
;Wednesday in Week 5
Measure=calc
Formula=cDay42 + 1

[cDay43b]
Measure=calc
Formula=cDay43 > mDayCount ? cDay43-mDayCount : cDay43

[cDay43Draw]
Measure=calc
Formula=(cDay43 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay43][!RainmeterShowMeter mDay43b][!RainmeterEnableMeasure cDay43b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay43][!RainmeterHideMeter mDay43b][!RainmeterEnableMeasure cDay43b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay43][!RainmeterHideMeter mDay43b][!RainmeterDisableMeasure cDay43b]

[mDay43]
Meter=string
MeasureName=cDay43b
X=#pWe.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay43b]
Meter=string
MeasureName=cDay43b
X=#pWe.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay44]
;Thursday in Week 5
Measure=calc
Formula=cDay43 + 1

[cDay44b]
Measure=calc
Formula=cDay44 > mDayCount ? cDay44-mDayCount : cDay44

[cDay44Draw]
Measure=calc
Formula=(cDay44 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay44][!RainmeterShowMeter mDay44b][!RainmeterEnableMeasure cDay44b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay44][!RainmeterHideMeter mDay44b][!RainmeterEnableMeasure cDay44b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay44][!RainmeterHideMeter mDay44b][!RainmeterDisableMeasure cDay44b]

[mDay44]
Meter=string
MeasureName=cDay44b
X=#pTh.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay44b]
Meter=string
MeasureName=cDay44b
X=#pTh.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay45]
;Friday in Week 5
Measure=calc
Formula=cDay44 + 1

[cDay45b]
Measure=calc
Formula=cDay45 > mDayCount ? cDay45-mDayCount : cDay45

[cDay45Draw]
Measure=calc
Formula=(cDay45 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay45][!RainmeterShowMeter mDay45b][!RainmeterEnableMeasure cDay45b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay45][!RainmeterHideMeter mDay45b][!RainmeterEnableMeasure cDay45b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay45][!RainmeterHideMeter mDay45b][!RainmeterDisableMeasure cDay45b]

[mDay45]
Meter=string
MeasureName=cDay45b
X=#pFr.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay45b]
Meter=string
MeasureName=cDay45b
X=#pFr.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay46]
;Saturday in Week 5
Measure=calc
Formula=cDay45 + 1

[cDay46b]
Measure=calc
Formula=cDay46 > mDayCount ? cDay46-mDayCount : cDay46

[cDay46Draw]
Measure=calc
Formula=(cDay46 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay46][!RainmeterShowMeter mDay46b][!RainmeterEnableMeasure cDay46b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay46][!RainmeterHideMeter mDay46b][!RainmeterEnableMeasure cDay46b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay46][!RainmeterHideMeter mDay46b][!RainmeterDisableMeasure cDay46b]

[mDay46]
Meter=string
MeasureName=cDay46b
X=#pSa.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay46b]
Meter=string
MeasureName=cDay46b
X=#pSa.x#
Y=#pW5.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

;Week 6 Begin----------------------------------------------
[cDay50]
;Sunday in Week 6
;28th likely to occur so test for 28th
Measure=calc
Formula=cDay46 + 1

[cDay50b]
Measure=calc
Formula=cDay50 > mDayCount ? cDay50-mDayCount : cDay50

[cDay50Draw]
Measure=calc
Formula=(cDay50 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay50][!RainmeterShowMeter mDay50b][!RainmeterEnableMeasure cDay50b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay50][!RainmeterHideMeter mDay50b][!RainmeterEnableMeasure cDay50b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay50][!RainmeterHideMeter mDay50b][!RainmeterDisableMeasure cDay50b]

[mDay50]
Meter=string
MeasureName=cDay50b
X=#pSu.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay50b]
Meter=string
MeasureName=cDay50b
X=#pSu.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay51]
;Monday in Week 6
Measure=calc
Formula=cDay50 + 1

[cDay51b]
Measure=calc
Formula=cDay51 > mDayCount ? cDay51-mDayCount : cDay51

[cDay51Draw]
Measure=calc
Formula=(cDay51 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay51][!RainmeterShowMeter mDay51b][!RainmeterEnableMeasure cDay51b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay51][!RainmeterHideMeter mDay51b][!RainmeterEnableMeasure cDay51b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay51][!RainmeterHideMeter mDay51b][!RainmeterDisableMeasure cDay51b]

[mDay51]
Meter=string
MeasureName=cDay51b
X=#pMo.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay51b]
Meter=string
MeasureName=cDay51b
X=#pMo.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay52]
;Tuesday in Week 6
Measure=calc
Formula=cDay51 + 1

[cDay52b]
Measure=calc
Formula=cDay52 > mDayCount ? cDay52-mDayCount : cDay52

[cDay52Draw]
Measure=calc
Formula=(cDay52 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay52][!RainmeterShowMeter mDay52b][!RainmeterEnableMeasure cDay52b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay52][!RainmeterHideMeter mDay52b][!RainmeterEnableMeasure cDay52b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay52][!RainmeterHideMeter mDay52b][!RainmeterDisableMeasure cDay52b]

[mDay52]
Meter=string
MeasureName=cDay52b
X=#pTu.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay52b]
Meter=string
MeasureName=cDay52b
X=#pTu.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay53]
;Wednesday in Week 6
Measure=calc
Formula=cDay52 + 1

[cDay53b]
Measure=calc
Formula=cDay53 > mDayCount ? cDay53-mDayCount : cDay53

[cDay53Draw]
Measure=calc
Formula=(cDay53 > mDayCount) ? (#E.Days#= 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay53][!RainmeterShowMeter mDay53b][!RainmeterEnableMeasure cDay53b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay53][!RainmeterHideMeter mDay53b][!RainmeterEnableMeasure cDay53b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay53][!RainmeterHideMeter mDay53b][!RainmeterDisableMeasure cDay53b]

[mDay53]
Meter=string
MeasureName=cDay53b
X=#pWe.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay53b]
Meter=string
MeasureName=cDay53b
X=#pWe.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay54]
;Thursday in Week 6
Measure=calc
Formula=cDay53 + 1

[cDay54b]
Measure=calc
Formula=cDay54 > mDayCount ? cDay54-mDayCount : cDay54

[cDay54Draw]
Measure=calc
Formula=(cDay54 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay54][!RainmeterShowMeter mDay54b][!RainmeterEnableMeasure cDay54b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay54][!RainmeterHideMeter mDay54b][!RainmeterEnableMeasure cDay54b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay54][!RainmeterHideMeter mDay54b][!RainmeterDisableMeasure cDay54b]

[mDay54]
Meter=string
MeasureName=cDay54b
X=#pTh.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay54b]
Meter=string
MeasureName=cDay54b
X=#pTh.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay55]
;Friday in Week 6
Measure=calc
Formula=cDay54 + 1

[cDay55b]
Measure=calc
Formula=cDay55 > mDayCount ? cDay55-mDayCount : cDay55

[cDay55Draw]
Measure=calc
Formula=(cDay55 > mDayCount) ? ( #E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay55][!RainmeterShowMeter mDay55b][!RainmeterEnableMeasure cDay55b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay55][!RainmeterHideMeter mDay55b][!RainmeterEnableMeasure cDay55b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay55][!RainmeterHideMeter mDay55b][!RainmeterDisableMeasure cDay55b]

[mDay55]
Meter=string
MeasureName=cDay55b
X=#pFr.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay55b]
Meter=string
MeasureName=cDay55b
X=#pFr.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[cDay56]
;Saturday in Week 6
Measure=calc
Formula=cDay55 + 1

[cDay56b]
Measure=calc
Formula=cDay56 > mDayCount ? cDay56-mDayCount : cDay56

[cDay56Draw]
Measure=calc
Formula=(cDay55 + 1 > mDayCount) ? (#E.Days# = 0 ? 0 : -1) : 1
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter mDay56][!RainmeterShowMeter mDay56b][!RainmeterEnableMeasure cDay56b]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter mDay56][!RainmeterHideMeter mDay56b][!RainmeterEnableMeasure cDay56b]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter mDay56][!RainmeterHideMeter mDay56b][!RainmeterDisableMeasure cDay56b]

[mDay56]
Meter=string
MeasureName=cDay56b
X=#pSa.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color#

[mDay56b]
Meter=string
MeasureName=cDay56b
X=#pSa.x#
Y=#pW6.y#
MeterStyle=TextStyle
FontColor=#Text.Color2#

[heightDummy]
;Used to keep other skins from snapping to the bottom of an unused week
Meter=image
X=0
Y=#pW6.y#
W=10
H=18
SolidColor=0,0,0,0

;Day Labels-------------------------------------------------
[lSun]
Meter=string
Text="S"
X=7
MeterStyle=LabelStyle

[lMon]
Meter=string
Text="M"
X=#pxS#r
MeterStyle=LabelStyle

[lTues]
Meter=string
Text="T"
X=#pxS#r
MeterStyle=LabelStyle

[lWed]
Meter=string
Text="W"
X=#pxS#r
MeterStyle=LabelStyle

[lThur]
Meter=string
Text="R"
X=#pxS#r
MeterStyle=LabelStyle

[lFri]
Meter=string
Text="F"
X=#pxS#r
MeterStyle=LabelStyle

[lSat]
Meter=string
Text="S"
X=#pxS#r
MeterStyle=LabelStyle

;Day Label BG===============================================
[lSunBG]
Meter=image
MeterStyle=LabelBGStyle
X=0

[lMonBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[lTuesBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[lWedBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[lThurBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[lFriBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[lSatBG]
Meter=image
MeterStyle=LabelBGStyle
X=#pxS#r

[Border]
Meter=IMAGE
SolidColor=#ColorBorder#
X=0
Y=0
W=180
H=1
Hidden=1
Any help is greatly appreciated.
General Tso
Posts: 3
Joined: February 15th, 2011, 6:51 am

Re: Enigma color problems

Post by General Tso »

OK I just deleted Enigma and reinstalled. I loaded up EnigmaConfigure.exe and editted all color values to black, white, or grey. I then added Music.ini, and it had blue in it.... I immediately refreshed it and the text turned to that annoying green again.... wwwwhhhhhyyyyy???? I changed nothing but EnigmaConfigure.exe. Why the blue? More mysteriously, why would the colors change with a refresh despite me making zero changes?? I'm about ready to give up on Enigma.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Enigma color problems

Post by dragonmage »

Honestly it sounds like Rainmeter can't find UserVariables.inc.
General Tso
Posts: 3
Joined: February 15th, 2011, 6:51 am

Re: Enigma color problems

Post by General Tso »

Thanks for the response. I think you're right, because none of the color changes I make in UserVariables.inc have any affect whatsoever. I can change individual colors listed within skin ini files, but that's it. How do I get Rainmeter to find UserVariables.inc?
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Enigma color problems

Post by dragonmage »

First check the individual ini files to see if one of the @Include lines refers to uservariables.inc. Also in EnigmaConfigure are you clicking Set for each change you make then clicking Save All before you Exit?