It is currently April 19th, 2024, 2:18 am

Measure Toggle

Get help with creating, editing & fixing problems with skins
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Measure Toggle

Post by xenium »

Hi,
I have 3 meters that have the same position: meter1, meter2 and meter3
I would like to switch between them at 20 second intervals: meter1 is displayed for 20 seconds, then meter2 is displayed for 20 seconds, then meter3 is displayed for 20 seconds. After that, the process resumes again.
How can I do this?

Thank you
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Measure Toggle

Post by balala »

xenium wrote:I have 3 meters that have the same position: meter1, meter2 and meter3
I would like to switch between them at 20 second intervals: meter1 is displayed for 20 seconds, then meter2 is displayed for 20 seconds, then meter3 is displayed for 20 seconds. After that, the process resumes again.
How can I do this?
Supposing you have set the default Update=1000, add a simple Calc measure, which updates once per 20 seconds:

Code: Select all

[MeasureToggle]
Measure=Calc
Formula=(( MeasureToggle + 1 ) % 3 )
UpdateDivider=20
Now add to the same [MeasureToggle] measure, some IfConditions, to show / hide the appropriate meters:

Code: Select all

IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!ShowMeter "Meter1"][!HideMeter "Meter2"][!HideMeter "Meter3"]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!HideMeter "Meter1"][!ShowMeter "Meter2"][!HideMeter "Meter3"]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!HideMeter "Meter1"][!HideMeter "Meter2"][!ShowMeter "Meter3"]
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Re: Measure Toggle

Post by xenium »

balala wrote:Supposing you have set the default Update=1000, add a simple Calc measure, which updates once per 20 seconds:

Code: Select all

[MeasureToggle]
Measure=Calc
Formula=(( MeasureToggle + 1 ) % 3 )
UpdateDivider=20
Now add to the same [MeasureToggle] measure, some IfConditions, to show / hide the appropriate meters:

Code: Select all

IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!ShowMeter "Meter1"][!HideMeter "Meter2"][!HideMeter "Meter3"]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!HideMeter "Meter1"][!ShowMeter "Meter2"][!HideMeter "Meter3"]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!HideMeter "Meter1"][!HideMeter "Meter2"][!ShowMeter "Meter3"]
Thank you very much ! :bow:

Because I have animations (default update = 60), we set the updated divider to 350.
(and updaterate = 29, to take the update to ten minutes)
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Measure Toggle

Post by balala »

xenium wrote:Because I have animations (default update = 60), we set the updated divider to 350.
(and updaterate = 29, to take the update to ten minutes)
I'm glad if you go tit working well. However I'd add two things:
  • The default value of the Update is 1000. So, there is an expression mistake, having not
    xenium wrote:default update = 60
    but Update=60.
  • The UpdateRate option is valid ONLY on WebParser (and the appropriate plugin) measures and on Ping plugin measures. You can't use it anywhere else.
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Re: Measure Toggle

Post by xenium »

I came back with a problem:
Initially before using MeasureToggle, the skin had set update = 60 and updaterate = 10000

Now, the skin has update = 60, updatedivider = 350 and updaterate = 29.
The skin has 2 variants (celsius and fahrenheit).
Now when I load the skin and choose the second skin variant is ok ,but when I return to the first skin variant the weather data is no longer displayed and the refresh does not work, I have to shut down Rainmeter and to start it again. The above situation is repeated after I restart the rainmeter.

We canceled the MeasureToggle and returned to the initial settings update and everything is ok now.

Is it because the updaterate is set to a low value (29) ?
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Measure Toggle

Post by balala »

xenium wrote:I came back with a problem:
Initially before using MeasureToggle, the skin had set update = 60 and updaterate = 10000

Now, the skin has update = 60, updatedivider = 350 and updaterate = 29.
The skin has 2 variants (celsius and fahrenheit).
Now when I load the skin and choose the second skin variant is ok ,but when I return to the first skin variant the weather data is no longer displayed and the refresh does not work, I have to shut down Rainmeter and to start it again. The above situation is repeated after I restart the rainmeter.

We canceled the MeasureToggle and returned to the initial settings update and everything is ok now.

Is it because the updaterate is set to a low value (29) ?
To be honest, I have no idea what are you talking about.
A skin can have an Update option (in the [Rainmeter] section), but it has nor UpdateRate, nor UpdateDivider. Maybe a DefaultUpdateDivider (in the same [Rainmeter] section), but definitely nor UpdateRate, nor UpdateDivider. The UpdateDivider is related to meters and measures, while UpdateRate is related only to WebParser measures and Ping plugin measures. A few details: https://docs.rainmeter.net/tips/update-guide/
So, a few details and maybe a sample code, please.
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Re: Measure Toggle

Post by xenium »

balala wrote:To be honest, I have no idea what are you talking about.
A skin can have an Update option (in the [Rainmeter] section), but it has nor UpdateRate, nor UpdateDivider. Maybe a DefaultUpdateDivider (in the same [Rainmeter] section), but definitely nor UpdateRate, nor UpdateDivider. The UpdateDivider is related to meters and measures, while UpdateRate is related only to WebParser measures and Ping plugin measures. A few details: https://docs.rainmeter.net/tips/update-guide/
So, a few details and maybe a sample code, please.
Initially, the update option in the rainmeter section is update = 60 and for WebParser measure, updaterate = 10000

Now the update option in the Rainmeter section is update = 60, for WebParser measure updaterate = 29 and for MeasureToggle updatedivider = 350
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Measure Toggle

Post by balala »

Please post the whole code of your skin.
User avatar
xenium
Posts: 865
Joined: January 4th, 2018, 9:52 pm

Re: Measure Toggle

Post by xenium »

balala wrote:Please post the whole code of your skin.

Code: Select all

[Rainmeter]
Update=60
DynamicWindowSize=1
AccurateText=1



@include="#@#Location.inc"

[MeasureQuote]
Measure=Plugin
Plugin=QuotePlugin
Path="#@#Location.inc"

[Variables]
UpdateRateSeconds=29
FontFace=century gothic

URL1=#LocationURL#?tenday
URL2=#LocationURL#


TempColor1=58,0,176 
TempColor2=0,0,143
TempColor3=1,1,190
TempColor4=0,0,238 
TempColor5=0,30,255
TempColor6=1,78,255
TempColor7=0,127,255
TempColor8=0,175,255
TempColor9=0,223,255 
TempColor10=15,255,239
TempColor11=63,255,191
TempColor12=111,255,143
TempColor13=159,255,95
TempColor14=207,255,47
TempColor15=255,255,0
TempColor16=255,207,0
TempColor17=255,159,0
TempColor18=255,111,0
TempColor19=255,14,0
TempColor20=174,1,1

W=0
U=[!UpdateMeasure "MeasureSlide"][!UpdateMeter "MeterTemp"][!UpdateMeter "Uptime"][!Redraw]
Color=255,255,255


=============Measure=============

[MeasureName]
Measure=WebParser
Url=#URL1#
RegExp=(?siU)<h1>(.*)</h1>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureCountry]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)<img src="/img/arrow2.gif" alt=">>" width="8" height="8" />.*<a href="/.*/.*/.*">(.*)</a>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureSymbol]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)<div class="symbol_70x70.* symbol_(.*)_70x70 cc_symb"
StringIndex=1
UpdateRate=#UpdateRateSeconds#
IfMatch=(?i)d.*
IfMatchAction=[!ShowMeter "Bg1"][!HideMeter "Bg2"]
IfMatch2=(?i)n.*
IfMatchAction2=[!ShowMeter "Bg2"][!HideMeter "Bg1"]
FinishAction=[!EnableMeasureGroup Counters][!UpdateMeasure MeasureSetCounter]

[MeasureTemp]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)<span class=".* txt-xxlarge"><strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1
FinishAction=[!Delay "1000"][!CommandMeasure "MeasureSlide" "Execute 1"]

[MeasureConditions]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)<div class="right txt-tight">(.*)<br />
UpdateRate=#UpdateRateSeconds#
StringIndex=1
RegExpSubstitute=1
Substitute="\t":"","#CRLF#":"","Feels Like: <strong>(.*)</strong>":"N/A"

[MeasureFeelsLike]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Feels Like: <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1
Substitute="&deg;":""

[MeasureBarometer]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Barometer:  <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureHumidity]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Humidity:   <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1
Substitute="%":" %"

[MeasureWindSpeed]
Measure=WebParser
Url=#URL2#
RegExp=(?siU).*height="28" /> <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureWindDirection]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)<img src.*/s/symb-wind/w(.*).gif" alt="
UpdateRate=#UpdateRateSeconds#
StringIndex=1
Substitute="000":"N","045":"NE","090":"E","135":"SE","180":"S","225":"SW","270":"W","315":"NW","360":"N"

[MeasureVisibility]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Visibility: <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureSunrise]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Sun rise: <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureSunset]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)Sun set:  <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureDAY]
Measure=WebParser
Url=#URL1#
RegExp=(?siU)<span class="h5">(.*)</span>.*<span class="h5">(.*)</span>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureDAY1]
Measure=WebParser
Url=[MeasureDAY]
UpdateRate=#UpdateRateSeconds#
StringIndex=2

[MeasureTMAX]
Measure=WebParser
Url=#URL1#
RegExp=(?siU)Hi: <strong>(.*)</strong>.*Hi: <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1
Substitute="&deg;":""

[MeasureTMAX1]
Measure=WebParser
Url=[MeasureTMAX]
UpdateRate=#UpdateRateSeconds#
StringIndex=2
Substitute="&deg;":""

[MeasureTMIN]
Measure=WebParser
Url=#URL1#
RegExp=(?siU)Lo: <strong>(.*)</strong>.*Lo: <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1
Substitute="&deg;":""

[MeasureTMIN1]
Measure=WebParser
Url=[MeasureTMIN]
UpdateRate=#UpdateRateSeconds#
StringIndex=2
Substitute="&deg;":""

[MeasureIcon]
Measure=WebParser
Url=#URL1#
RegExp=(?siU)div class="symbol_50x50d symbol_d(.*)_50x50" alt.*div class="symbol_50x50d symbol_d(.*)_50x50" alt
StringIndex=1
UpdateRate=#UpdateRateSeconds#

[MeasureIcon1]
Measure=WebParser
Url=[MeasureIcon]
StringIndex=2
UpdateRate=#UpdateRateSeconds#

[MeasureUpdate]
Measure=WebParser
Url=#URL2#
RegExp=(?siU)As of <strong>(.*)</strong>
UpdateRate=#UpdateRateSeconds#
StringIndex=1

[MeasureColor]
Measure=Calc
Formula=MeasureTemp < -45 ? 1 : (((MeasureTemp >= -45) && (MeasureTemp < -40)) ? 2 : (((MeasureTemp >= -40) && (MeasureTemp < -35)) ? 3 : (((MeasureTemp >= -35) && (MeasureTemp < -30)) ? 4 : (((MeasureTemp >= -30) && (MeasureTemp < -25)) ? 5 : (((MeasureTemp >= -25) && (MeasureTemp < -20)) ? 6 : (((MeasureTemp >= -20) && (MeasureTemp < -15)) ? 7 : (((MeasureTemp >= -15) && (MeasureTemp < -10)) ? 8 : (((MeasureTemp >= -10) && (MeasureTemp < -5)) ? 9 : (((MeasureTemp >= -5) && (MeasureTemp < 0)) ? 10 : (((MeasureTemp >= 0) && (MeasureTemp < 5)) ? 11 : (((MeasureTemp >= 5) && (MeasureTemp < 10)) ? 12 : (((MeasureTemp >= 10) && (MeasureTemp < 15)) ? 13 : (((MeasureTemp >= 15) && (MeasureTemp < 20)) ? 14 : (((MeasureTemp >= 20) && (MeasureTemp < 25)) ? 15 : (((MeasureTemp >= 25) && (MeasureTemp < 30)) ? 16 : (((MeasureTemp >= 30) && (MeasureTemp < 35)) ? 17 : (((MeasureTemp >= 35) && (MeasureTemp < 40)) ? 18 : (((MeasureTemp >= 40) && (MeasureTemp < 45)) ? 19 : 20))))))))))))))))))

[MeasureSlide]
Measure=Plugin
Plugin=ActionTimer
ActionList1=Repeat Up,1000,1000
Up=[!SetVariable W "(Clamp((#W#+5),0,100))"]#U#
DynamicVariables=1
IfCondition=(#W#>=100)
IfTrueAction=[!CommandMeasure "MeasureSlide" "Stop 1"][!SetVariable W "0"][!SetVariable Color "[#TempColor[&MeasureColor]]"]#U#

[MeasureSetCounter]
Measure=String
Group=Counters
String=[MeasureSymbol]
DynamicVariables=1
Disabled=1
UpdateDivider=-1
IfMatch=(?i)d000
IfMatchAction=[!SetOption MeasureCounter Formula "Counter % 6"]
IfMatch2=(?i)d100
IfMatchAction2=[!SetOption MeasureCounter Formula "Counter % 45"]
IfMatch3=(?i)d200
IfMatchAction3=[!SetOption MeasureCounter Formula "Counter % 25"]
IfMatch4=(?i)d210
IfMatchAction4=[!SetOption MeasureCounter Formula "Counter % 25"]
IfMatch5=(?i)d211
IfMatchAction5=[!SetOption MeasureCounter Formula "Counter % 13"]
IfMatch6=(?i)d212
IfMatchAction6=[!SetOption MeasureCounter Formula "Counter % 12"]
IfMatch7=(?i)d220
IfMatchAction7=[!SetOption MeasureCounter Formula "Counter % 7"]
IfMatch8=(?i)d221
IfMatchAction8=[!SetOption MeasureCounter Formula "Counter % 13"]
IfMatch9=(?i)d222
IfMatchAction9=[!SetOption MeasureCounter Formula "Counter % 10"]
IfMatch10=(?i)d240
IfMatchAction10=[!SetOption MeasureCounter Formula "Counter % 19"]
IfMatch11=(?i)d300
IfMatchAction11=[!SetOption MeasureCounter Formula "Counter % 50"]
IfMatch12=(?i)d310
IfMatchAction12=[!SetOption MeasureCounter Formula "Counter % 8"]
IfMatch13=(?i)d311
IfMatchAction13=[!SetOption MeasureCounter Formula "Counter % 19"]
IfMatch14=(?i)d312
IfMatchAction14=[!SetOption MeasureCounter Formula "Counter % 30"]
IfMatch15=(?i)d320
IfMatchAction15=[!SetOption MeasureCounter Formula "Counter % 20"]
IfMatch16=(?i)d321
IfMatchAction16=[!SetOption MeasureCounter Formula "Counter % 11"]
IfMatch17=(?i)d322
IfMatchAction17=[!SetOption MeasureCounter Formula "Counter % 8"]
IfMatch18=(?i)d340
IfMatchAction18=[!SetOption MeasureCounter Formula "Counter % 122"]
IfMatch19=(?i)d400
IfMatchAction19=[!SetOption MeasureCounter Formula "Counter % 25"]
IfMatch20=(?i)d410
IfMatchAction20=[!SetOption MeasureCounter Formula "Counter % 32"]
IfMatch21=(?i)d411
IfMatchAction21=[!SetOption MeasureCounter Formula "Counter % 16"]
IfMatch22=(?i)d412
IfMatchAction22=[!SetOption MeasureCounter Formula "Counter % 100"]
IfMatch23=(?i)d420
IfMatchAction23=[!SetOption MeasureCounter Formula "Counter % 38"]
IfMatch24=(?i)d421
IfMatchAction24=[!SetOption MeasureCounter Formula "Counter % 10"]
IfMatch25=(?i)d422
IfMatchAction25=[!SetOption MeasureCounter Formula "Counter % 14"]
IfMatch26=(?i)d430
IfMatchAction26=[!SetOption MeasureCounter Formula "Counter % 8"]
IfMatch27=(?i)d431
IfMatchAction27=[!SetOption MeasureCounter Formula "Counter % 16"]
IfMatch28=(?i)d432
IfMatchAction28=[!SetOption MeasureCounter Formula "Counter % 8"]
IfMatch29=(?i)d440
IfMatchAction29=[!SetOption MeasureCounter Formula "Counter % 56"]
IfMatch30=(?i)d600
IfMatchAction30=[!SetOption MeasureCounter Formula "Counter % 19"]
IfMatch31=(?i)n000
IfMatchAction31=[!SetOption MeasureCounter Formula "Counter % 19"]
IfMatch32=(?i)n100
IfMatchAction32=[!SetOption MeasureCounter Formula "Counter % 40"]
IfMatch33=(?i)n200
IfMatchAction33=[!SetOption MeasureCounter Formula "Counter % 30"]
IfMatch34=(?i)n210
IfMatchAction34=[!SetOption MeasureCounter Formula "Counter % 21"]
IfMatch35=(?i)n211
IfMatchAction35=[!SetOption MeasureCounter Formula "Counter % 15"]
IfMatch36=(?i)n212
IfMatchAction36=[!SetOption MeasureCounter Formula "Counter % 5"]
IfMatch37=(?i)n220
IfMatchAction37=[!SetOption MeasureCounter Formula "Counter % 11"]
IfMatch38=(?i)n221
IfMatchAction38=[!SetOption MeasureCounter Formula "Counter % 5"]
IfMatch39=(?i)n222
IfMatchAction39=[!SetOption MeasureCounter Formula "Counter % 6"]
IfMatch40=(?i)n240
IfMatchAction40=[!SetOption MeasureCounter Formula "Counter % 50"]
IfMatch41=(?i)n300
IfMatchAction41=[!SetOption MeasureCounter Formula "Counter % 12"]
IfMatch42=(?i)n310
IfMatchAction42=[!SetOption MeasureCounter Formula "Counter % 16"]
IfMatch43=(?i)n311
IfMatchAction43=[!SetOption MeasureCounter Formula "Counter % 10"]
IfMatch44=(?i)n312
IfMatchAction44=[!SetOption MeasureCounter Formula "Counter % 30"]
IfMatch45=(?i)n320
IfMatchAction45=[!SetOption MeasureCounter Formula "Counter % 21"]
IfMatch46=(?i)n321
IfMatchAction46=[!SetOption MeasureCounter Formula "Counter % 13"]
IfMatch47=(?i)n322
IfMatchAction47=[!SetOption MeasureCounter Formula "Counter % 7"]
IfMatch48=(?i)n340
IfMatchAction48=[!SetOption MeasureCounter Formula "Counter % 20"]
IfMatch49=(?i)n400
IfMatchAction49=[!SetOption MeasureCounter Formula "Counter % 24"]
IfMatch50=(?i)n410
IfMatchAction50=[!SetOption MeasureCounter Formula "Counter % 17"]
IfMatch51=(?i)n411
IfMatchAction51=[!SetOption MeasureCounter Formula "Counter % 10"]
IfMatch52=(?i)n412
IfMatchAction52=[!SetOption MeasureCounter Formula "Counter % 12"]
IfMatch53=(?i)n420
IfMatchAction53=[!SetOption MeasureCounter Formula "Counter % 15"]
IfMatch54=(?i)n421
IfMatchAction54=[!SetOption MeasureCounter Formula "Counter % 21"]
IfMatch55=(?i)n422
IfMatchAction55=[!SetOption MeasureCounter Formula "Counter % 6"]
IfMatch56=(?i)n430
IfMatchAction56=[!SetOption MeasureCounter Formula "Counter % 22"]
IfMatch57=(?i)n431
IfMatchAction57=[!SetOption MeasureCounter Formula "Counter % 20"]
IfMatch58=(?i)n432
IfMatchAction58=[!SetOption MeasureCounter Formula "Counter % 21"]
IfMatch59=(?i)n440
IfMatchAction59=[!SetOption MeasureCounter Formula "Counter % 50"]
IfMatch60=(?i)n600
IfMatchAction60=[!SetOption MeasureCounter Formula "Counter % 25"]

[MeasureCounter]
Measure=Calc
Group=Counters
Disabled=1

[MeasureToggle]
Measure=Calc
Formula=(( MeasureToggle + 1 ) % 3 )
UpdateDivider=350
IfCondition=(#CURRENTSECTION#=0)
IfTrueAction=[!HideMeterGroup Conditions][!HideMeterGroup Parameters][!ShowMeterGroup Tomorrow]
IfCondition2=(#CURRENTSECTION#=1)
IfTrueAction2=[!HideMeterGroup Parameters][!ShowMeterGroup Conditions][!HideMeterGroup Tomorrow]
IfCondition3=(#CURRENTSECTION#=2)
IfTrueAction3=[!ShowMeterGroup Parameters][!HideMeterGroup Conditions][!HideMeterGroup Tomorrow]


==============Meters===================

[Bg3]
Meter=Image
X=0
Y=0
ImageName=#@#bg3.png

[Bg1]
Meter=Image
X=0
Y=0
ImageName=#@#bg1.png 
Hidden=1

[Bg2]
Meter=Image
X=0
Y=0
ImageName=#@#bg2.png
Hidden=1 

[MeterImage]
Meter=Image
ImageName=#@#Images\[MeasureSymbol]\Frame[MeasureCounter].png
X=3
Y=4
DynamicVariables=1

[MeterSymbol]
Meter=Image
Group=Conditions
MeasureName=MeasureSymbol
Path="#@#Symb"
X=15
Y=202

[frame2]
Meter=Image
ImageName=#@#frame2.png
X=0
Y=0

[frame]
Meter=Image
ImageName=#@#frame.png
X=0
Y=0

[MeterName]
Meter=String
MeasureName=MeasureName
MeasureName2=MeasureCountry
X=8
Y=187
W=265
H=50
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=leftcenter
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
FontSize=12
InlineSetting=Size | 9
InlinePattern=.*,(.*)
Text="%1 , %2"

[MeterConditions]
Meter=String
Group=Conditions
MeasureName=MeasureConditions
X=170
Y=210
W=180
H=150
FontColor=255,255,255,255
FontSize=11
FontFace=century gothic
StringStyle=Normal
StringAlign=Center
StringEffect=SHADOW
FontEffectColor=0,0,0,50
ClipString=1
AntiAlias=1

[MeterTemp]
Meter=String
MeasureName=MeasureTemp
X=223
Y=4
W=120
H=60
FontColor=[#TempColor[&MeasureColor]]
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Center
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
FontSize=32
Postfix="°"
DynamicVariables=1
InlineSetting=GradientColor | 90 | [#TempColor[&MeasureColor]] ; 0.0 | [#TempColor[&MeasureColor]] ; (#W#/100) | #Color# ; (#W#/100) | #Color# ; 1.0

[MeterFeelsLike]
Meter=String
MeasureName=MeasureFeelsLike
X=167
Y=50
W=120
H=60
FontSize=12
FontColor=255,255,255,255
StringStyle=bold
StringEffect=SHADOW
FontFace=century gothic
StringAlign=left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
InlineSetting=Size | 9
InlinePattern=((.*):).*
Prefix="Feels Like: "
Postfix="°"

[MeterBarometer]
Meter=String
Group=Parameters
MeasureName=MeasureBarometer
X=10
Y=205
W=120
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Pressure: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterHumidity]
Meter=String
Group=Parameters
MeasureName=MeasureHumidity
X=10
Y=15r
W=120
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Humidity: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterWindSpeed]
Meter=String
Group=Parameters
MeasureName=MeasureWindSpeed
X=10
Y=15r
W=120
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Wind: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterWindDirection]
Meter=String
Group=Parameters
MeasureName=MeasureWindDirection
X=80r
Y=235
W=120
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1

[MeterVisibility]
Meter=String
Group=Parameters
MeasureName=MeasureVisibility
X=155
Y=205
W=120
H=60
FontSize=8
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,80
AntiAlias=1
ClipString=1
Prefix="Visibility: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterSunrise]
Meter=String
Group=Parameters
MeasureName=MeasureSunrise
X=155
Y=15r
W=120
H=60
FontSize=8
FontColor=250,250,250,250
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,80
AntiAlias=1
ClipString=1
Prefix="Sunrise: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterSunset]
Meter=String
Group=Parameters
MeasureName=MeasureSunset
X=155
Y=15r
W=120
H=60
FontSize=8
FontColor=250,250,250,250
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,80
AntiAlias=1
ClipString=1
Prefix="Sunset: "
InlineSetting=Color | 255,255,255,200
InlinePattern=(?U)^(.*):.*

[MeterDAY1]
Meter=String
Group=Tomorrow
MeasureName=MeasureDAY1
X=15
Y=215
W=100
H=30
FontSize=11
FontColor=255,255,255,255
StringStyle=normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1

[MeterTMax1]
Meter=String
Group=Tomorrow
MeasureName=MeasureTMAX1
X=200
Y=206
W=100
H=30
FontSize=11
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Center
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Tmax: "
Postfix="°"
InlineSetting=Size | 8
InlinePattern=max

[MeterTMin1]
Meter=String
Group=Tomorrow
MeasureName=MeasureTMIN1
X=200
Y=20r
W=100
H=30
FontSize=11
FontColor=255,255,255,255
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Center
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Tmin: "
Postfix="°"
InlineSetting=Size | 8
InlinePattern=min

[MeterIcon1]
Meter=Image
Group=Tomorrow
MeasureName=MeasureIcon1
Path="#@#IconsD"
X=100
Y=202

[MeterUpdate]
Meter=String
MeasureName=MeasureUpdate
X=6 
Y=5
W=120
H=60
FontSize=7
FontColor=255,255,255,250
StringStyle=Normal
StringEffect=SHADOW
FontFace=century gothic
StringAlign=Left
FontEffectColor=0,0,0,50
AntiAlias=1
ClipString=1
Prefix="Update: "

===================================================

[MeterSetting]
Meter=IMAGE
ImageName=#@#set.png
X=252
Y=195
SolidColor=0,0,0,1
AntiAlias=1
ToolTipText=Setting
LeftMouseUpAction=!Execute ["#@#Location.inc"]





User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Measure Toggle

Post by balala »

I'm sorry, but doesn't help. The code includes some files I don't have. So, please pack the whole config and upload it. This way I'll have all needed files and will be able to check the skin.