1) You can't ever have duplicate option / variable names in the same [Section]. You have two @Include variables. Change it to this:
@Include=#@#Variables.inc
@Include2=#@#Variablesextra.inc
@Include3=#@#Languages\#Language#.inc
@Include4=#@#WeatherComRegExp.inc
@Include5=#@#WeatherComCurrent.inc
@Include6=#@#WeatherComForecast.inc
I don't really think you need the separate and extra Variablesextra.inc, just put ClockFace in Variables.inc and change it there...
2) In the meter [MeterTime], you have MeasureName=MeasureTime, but there is no such measure. Change [MeasureTime1] to be [MeasureTime]
Style Notes:
3) Don't use !Execute on actions, it is long ago deprecated and shouldn't be used.
4) Don't use !Rainmeter on bangs, that is also deprecated and shouldn't be used. !RainmeterHideMeter should just be !HideMeter.
Here is your .ini with a few changes that makes it work for me. Some more cleanup and organization is probably called for, but that's up to you.
Code: Select all
[Rainmeter]
Author=HackitZ TDW
Version=2.0
Update=100
AccurateText=1
DynamicWindowSize=1
ContextTitle=Set Location Code
ContextAction=["#@#Variables.inc"]
;------------for testing alignment
BackgroundMode=0
;------------------------------end
ContextTitle2=> Clock Color
;ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variablesextra.inc"]
ContextAction2=["#@#Addons\RainRGB4.exe" "VarName=ClockFace" "FileName=#@#Variablesextra.inc" "RefreshConfig=#CURRENTCONFIG#"]
[Variables]
@Include=#@#Variables.inc
@Include2=#@#Variablesextra.inc
@Include3=#@#Languages\#Language#.inc
@Include4=#@#WeatherComRegExp.inc
@Include5=#@#WeatherComCurrent.inc
@Include6=#@#WeatherComForecast.inc
;================================
[@CurrentIcon]
Measure=WebParser
Group=Weather | WeatherCurrent
Url=[@CurrentParent]
StringIndex=3
IfAboveValue=1
IfAboveAction=[!HideMeter MeterCurrentIconNA][!ShowMeter MeterCurrentIcon]
[MeterCurrentIcon]
Path=#@#Weathericons
MeasureName=@CurrentIcon
Meter=Image
ImageAlpha=150
PreserveAspectRatio=1
AntiAlias=1
X=-10
Y=0
h=185
w=185
[MeterCurrentIconNA]
ImageName=na.png
Meter=IMAGE
ImageAlpha=150
PreserveAspectRatio=1
Path=#WeatherIcons#
X=20
Y=0
h=185
w=185
[MeterLocationCurrent]
MeasureName=@CurrentLocationName
Meter=String
X=30
Y=30
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255,255
InlineSetting3=Size | 16
InlineSetting4=Weight | 400
StringAlign=left
StringStyle=Italic
StringEffect=SHADOW
AntiAlias=1
ClipString=1
[MeterTimeBack]
MeasureName=MeasureTime
Meter=STRING
X=65
Y=50
InlineSetting=Face | Digital
InlineSetting2=Color | 68,68,68,125
InlineSetting3=Size | 52
StringAlign=left
AntiAlias=1
Text="88:88"
[MeterTime]
MeasureName=MeasureTime
Meter=STRING
X=65
Y=50
;FontColor=#Clock_Face#
InlineSetting=Face | Digital
InlineSetting2=Color | #ClockFace#
InlineSetting3=Size | 52
StringAlign=left
AntiAlias=1
[MeterDate]
MeasureName=MeasureDate
Meter=STRING
X=(595*0.50)r
Y=(100*0.50)r
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 16
InlineSetting4=Weight | 300
StringEffect=SHADOW
StringAlign=right
AntiAlias=1
clipstring=2
[MeterTempCurrent]
MeasureName2=@CurrentTemperature
MeasureName=@CurrentConditions
Meter=String
X=(-5*0.50)r
Y=(43*0.50)r
InlineSetting=Face | Walkway Expand Black
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 14
InlineSetting4=Weight | 300
StringEffect=SHADOW
StringAlign=right
AntiAlias=1
Text="%1, %2"
Postfix="°"
;-------------------------------------day2
[@ForecastDay2Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=8
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay2IconNA][!ShowMeter MeterDay2Icon]
[MeterDay2Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay2Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(145*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)
[MeterDay2IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r
[MeterTempDay2]
MeasureName=@ForecastDay2Name
MeasureName2=@ForecastDay2High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"
;-------------------------------------day3
[@ForecastDay3Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=18
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay3IconNA][!ShowMeter MeterDay3Icon]
[MeterDay3Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay3Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(360*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)
[MeterDay3IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r
[MeterTempDay3]
MeasureName=@ForecastDay3Name
MeasureName2=@ForecastDay3High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"
;-------------------------------------day4
[@ForecastDay4Icon]
Measure=WebParser
Group=Weather | WeatherEightDay
Url=[@ForecastParent]
StringIndex=18
IfAboveValue=1
IfAboveAction=[!HideMeter MeterDay4IconNA][!ShowMeter MeterDay4Icon]
[MeterDay4Icon]
Path=#@#Weathericons
MeasureName=@ForecastDay4Icon
Meter=Image
PreserveAspectRatio=1
ImageTint=#Color1#
AntiAlias=1
X=(580*0.50)
Y=(270*0.50)
H=(150*0.50)
W=(150*0.50)
[MeterDay4IconNA]
ImageName=na.png
Meter=IMAGE
Path=#WeatherIcons#
H=(100*0.50)
W=(100*0.50)
X=r
Y=r
[MeterTempDay4]
MeasureName=@ForecastDay4Name
MeasureName2=@ForecastDay4High
Meter=String
X=(-20*0.50)r
Y=(40*0.50)r
InlineSetting=Face | roboto
InlineSetting2=Color | 255,255,255
InlineSetting3=Size | 8
InlineSetting4=Weight | 300
StringAlign=Left
StringStyle=NORMAL
AntiAlias=1
Text="%1#CRLF#%2"
UpdateDivider=#Rdiv#
Postfix="°"
;--------------------------------date time
[MeasureTime]
Measure=Time
Format=%I:%M
FontName=Digital
FontName2=DS-Digital
[MeasureDate]
Measure=Time
Format=%B %d, %A, %Y.
;--------------------------- seconds bar
[MeasureSeconds]
Measure=Time
Format=%S
MaxValue=59
[MeterLine1]
Meter=Image
X=(120*0.50)
Y=(295*0.50)
H=(5*0.50)
W=(600*0.50)
SolidColor=68,68,68,200
[MeterSeconds]
MeasureName=MeasureSeconds
Meter=BAR
X=(120*0.50)
Y=(295*0.50)
H=(5*0.50)
W=(600*0.50)
BarColor=19,138,255,255
SolidColor=255,255,255,225
BarOrientation=HORIZONTAL
It's actually a pretty nice skin...