It is currently October 22nd, 2019, 6:05 pm

metric, fahrenheit, settings.ini

Tips and Tricks from the Rainmeter Community
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

metric, fahrenheit, settings.ini

moshi » February 27th, 2015, 8:47 am

you don't need the user to set a variable to determine whether to use metric or imperial measures.
you can also look up the user's preference in the registry.

Code: Select all

[MeasureTempUnit]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=Control Panel\International
RegValue=iMeasure
UpdateDivider=-1
Substitute="0":"c","1":"f"

[MeasureTemperature]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url="http://weather.yahooapis.com/forecastrss?w=550763&u=[&MeasureTempUnit]"
RegExp="(?siU).*<yweather:location.*city="(.*)".*region="(.*)"/>.*<yweather:units.*temperature="(.*)".*distance="(.*)".*pressure="(.*)".*speed="(.*)"/>.*<yweather:wind.*chill="(.*)".*.*.*direction="(.*)".*.*.*speed="(.*)".*/>.*<yweather:atmosphere.*humidity="(.*)".*.*visibility="(.*)".*.*pressure="(.*)".*.*rising="(.*)".*/>.*<yweather:astronomy.*sunrise="(.*)".*.*.*sunset="(.*)"/>.*<title>.*<title>(.*)</title>.*<link>(.*)</link>.*<yweather:condition.*.*text="(.*)".*.*code="(.*)".*.*temp="(.*)".*.*date="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>"
Debug=1
StringIndex=20
DynamicVariables=1
https://technet.microsoft.com/en-us/library/cc978640.aspx
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

Re: metric, fahrenheit, settings.ini

moshi » February 27th, 2015, 9:33 am

User avatar
eclectic-tech
Rainmeter Sage
Posts: 3576
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: metric, fahrenheit, settings.ini

eclectic-tech » February 27th, 2015, 10:34 pm

Great find moshi :great:

Thanks!
User avatar
FreeRaider
Posts: 786
Joined: November 20th, 2012, 11:58 pm

Re: metric, fahrenheit, settings.ini

FreeRaider » March 2nd, 2015, 11:09 am

moshi wrote:two skins using this registry measure:
http://customize.org/rainmeter/skins/65672563
Very good work, moshi but that skin gives me these errors:
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
Thank you
User avatar
jsmorley
Developer
Posts: 19613
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: metric, fahrenheit, settings.ini

jsmorley » March 2nd, 2015, 12:51 pm

FreeRaider wrote: Very good work, moshi but that skin gives me these errors:
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid FormatLocale: 0
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunRise]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureTitle2]: Invalid TimeStampFormat: %d %m %Y %H:%M
SphynxYahooWeather\Location1\regular.ini - [MeasureSunSet]: Invalid TimeStampFormat: %d %m %Y %H:%M
Thank you
You will get initial errors in the log when the skin first loads/refreshes but hasn't yet gotten the data from Yahoo. As soon as WebParser is done the first time, the errors will go way and not repeat.

While not something you really need to fix, this could most likely be corrected if you want by having the time measures set to "Disabled=1" and then have a FinishAction on the WebParser parent measure enable them as a group.

I probably would, but then I am kinda anal about errors in the log. I'm hesitant to get in the habit of "ignoring" unimportant errors, as I fear getting desensitized and then missing an important one that gets lost in the noise. When I refresh Rainmeter, my goal is:
1.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
FreeRaider
Posts: 786
Joined: November 20th, 2012, 11:58 pm

Re: metric, fahrenheit, settings.ini

FreeRaider » March 3rd, 2015, 10:50 am

jsmorley wrote: When I refresh Rainmeter, my goal is:
1.jpg
That's also my goal :)
jsmorley wrote: set to "Disabled=1" and then have a FinishAction on the WebParser parent measure enable them as a group.
I have tried, but I don't understand in what WebParser parent measure enable them using FinishAction.

Here is the code:

Code: Select all

[MeasureLanguage]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=Control Panel\International
RegValue=LocaleName
UpdateDivider=-1

[MeasureTempUnit]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=Control Panel\International
RegValue=iMeasure
UpdateDivider=-1
Substitute="0":"c","1":"f"

[MeasureTimeAMPM]
Measure=Registry
RegHKey=HKEY_CURRENT_USER
RegKey=Control Panel\International
RegValue=sTimeFormat
UpdateDivider=-1
RegExpSubstitute=1
Substitute="^.*\bh\b.*$":"12","^.*\bhh\b.*$":"12","^.*\bH\b.*$":"24","^.*\bHH\b.*$":"24"
IfMatch=12
IfNotMatchAction=[!SetOption MeasureTitle2 Format "%#H:%M"][!UpdateMeasure MeasureTitle2][!SetOption MeasureSunset Format "%#H:%M"][!UpdateMeasure MeasureSunset][!SetOption MeasureSunrise Format "%#H:%M"][!UpdateMeasure MeasureSunrise][!Redraw]


[MeasureWOEIDS]
Measure=String
String=#Feed#
RegExpSubstitute=1
Substitute="^.*-(\d+).*$":"\1"
OnUpdateAction=[!SetOption MeasureWeather Url "http://weather.yahooapis.com/forecastrss?w=[MeasureWOEIDS]&u=[MeasureTempUnit]" "#CURRENTCONFIG#"][!EnableMeasure MeasureWeather][!CommandMeasure MeasureWeather Update][!UpdateMeasure MeasureWeather][!DisableMeasure MeasureWOEIDS][!EnableMeasureGroup Registry]

[MeasureEviFlickrImage]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateDivider=-1
Url=""
Debug=1
StringIndex=1
DecodeCharacterReference=1
DynamicVariables=1
RegExp="(?siU).*<div id="yog-bg".*<.*img.*src="(.*)".*</div>"
Disabled=1
Download=1
DownloadFile="mapflickr.jpg"
FinishAction=[!UpdateMeter MeterBack2][!ShowMeter MeterTop][!ShowMeter MeterBack2][!ShowMeterGroup One][!Redraw][!DisableMeasure MeasureEviFlickrImage]



[MeasureWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=600
Url=""
RegExp="(?siU).*<yweather:location.*city="(.*)".*region="(.*)"/>.*<yweather:units.*temperature="(.*)".*distance="(.*)".*pressure="(.*)".*speed="(.*)"/>.*<yweather:wind.*chill="(.*)".*.*.*direction="(.*)".*.*.*speed="(.*)".*/>.*<yweather:atmosphere.*humidity="(.*)".*.*visibility="(.*)".*.*pressure="(.*)".*.*rising="(.*)".*/>.*<yweather:astronomy.*sunrise="(.*)".*.*.*sunset="(.*)"/>.*<title>.*<title>(.*)</title>.*<link>(.*)</link>.*<yweather:condition.*.*text="(.*)".*.*code="(.*)".*.*temp="(.*)".*.*date="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>.*<yweather:forecast.*day="(.*)".*date="(.*)".*low="(.*)".*high="(.*)".*text="(.*)".*code="(.*)".*/>"
Debug=1
DecodeCharacterReference=1
StringIndex=1
FinishAction=[!UpdateMeterGroup One][!UpdateMeterGroup Two][!UpdateMeter MeterBack2][!Redraw][!SetOption MeasureEviFlickrImage Url "#Feed#" "#CURRENTCONFIG#"][!EnableMeasure MeasureEviFlickrImage][!CommandMeasure MeasureEviFlickrImage Update][!UpdateMeasure MeasureEviFlickrImage][!UpdateMeasure MeasureVis][!UpdateMeasure MeasureSunRise][!UpdateMeasure MeasureTitle2]
DynamicVariables=1
RegExpSubstitute=1
Substitute="^$":"what's your WOEID again?"
Disabled=1

[MeasureLocation]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
DecodeCharacterReference=1
StringIndex=2
RegExpSubstitute=1
Substitute='".*country="':", ","^, ":""

[MeasureUnitTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=3
RegExpSubstitute=1
Substitute="^(.+)$":" °\1  -  "

[MeasureUnitDistance]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=4

[MeasureUnitPressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=5

[MeasureUnitSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=6

[MeasureWindChill]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=7
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureWindDir]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=8
RegExpSubstitute=1
Substitute="^.$":"North","^10$":"North","^11$":"North","^1.$":"North-Northeast","^2.$":"North-Northeast","^30$":"North-Northeast","^31$":"North-Northeast","^32$":"North-Northeast","^33$":"North-Northeast","^34$":"North-Northeast","^3.$":"Northeast","^4.$":"Northeast","^57$":"East-Northeast","^58$":"East-Northeast","^59$":"East-Northeast","^5.$":"Northeast","^6.$":"East-Northeast","^79$":"East","^7.$":"East-Northeast","^8.$":"East","^9.$":"East","^100$":"East","^101$":"East","^10.$":"East-Southeast","^11.$":"East-Southeast","^120$":"East-Southeast","^121$":"East-Southeast","^122$":"East-Southeast","^123$":"East-Southeast","^124$":"East-Southeast","^12.$":"Southeast","^13.$":"Southeast","^147$":"South-Southeast","^148$":"South-Southeast","^149$":"South-Southeast","^14.$":"Southeast","^15.$":"South-Southeast","^169$":"South","^16.$":"South-Southeast","^17.$":"South","^18.$":"South","^190$":"South","^191$":"South","^19.$":"South-Southwest","^20.$":"South-Southwest","^210$":"South-Southwest","^211$":"South-Southwest","^212$":"South-Southwest","^213$":"South-Southwest","^214$":"South-Southwest","^21.$":"Southwest","^22.$":"Southwest","^237$":"West-Southwest","^238$":"West-Southwest","^239$":"West-Southwest","^23.$":"Southwest","^24.$":"West-Southwest","^259$":"West","^25.$":"West-Southwest","^26.$":"West","^27.$":"West","^280$":"West","^281$":"West","^28.$":"West-Northwest","^29.$":"West-Northwest","^300$":"West-Northwest","^301$":"West-Northwest","^302$":"West-Northwest","^303$":"West-Northwest","^304$":"West-Northwest","^30.$":"Northwest","^31.$":"Northwest","^327$":"North-Northwest","^328$":"North-Northwest","^329$":"North-Northwest","^32.$":"Northwest","^33.$":"North-Northwest","^349$":"North","^34.$":"North-Northwest","^35.$":"North","^36.$":"North"






[MeasureWindSpeed]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=9

[MeasureHumidity]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=10
RegExpSubstitute=1
Substitute="^(.+)$":"\1%"

[MeasureVisibility]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=11
Substitute="":"--"

[MeasureVis]
Measure=String
String=[MeasureVisibility][MeasureUnitDistance]
DynamicVariables=1
RegExpSubstitute=1
Substitute="^--.*$":"--"
OnUpdateAction=[!UpdateMeter MeterVisibility2][!Redraw]
UpdateDivider=1

[MeasurePressure]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=12

[MeasurePressureRising]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=13

[MeasureSunRisePre]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureWeather]
StringIndex=14
RegExpSubstitute=1
Substitute="m":""," ":"","^0:(.*)a":"00\1","^12:(.*)a":"00\1","^1:(.*)a":"01\1","^2:(.*)a":"02\1","^3:(.*)a":"03\1","^4:(.*)a":"04\1","^5:(.*)a":"05\1","^6:(.*)a":"06\1","^7:(.*)a":"07\1","^8:(.*)a":"08\1","^9:(.*)a":"09\1","^10:(.*)a":"10\1","^11:(.*)a":"11\1","^12:(.*)p":"12\1","^0:(.*)p":"12\1","^1:(.*)p":"13\1","^2:(.*)p":"14\1","^3:(.*)p":"15\1","^4:(.*)p":"16\1","^5:(.*)p":"17\1","^6:(.*)p":"18\1","^7:(.*)p":"19\1","^8:(.*)p":"20\1","^9:(.*)p":"21\1","^10:(.*)p":"22\1","^11:(.*)p":"23\1","^(..)(..)$":"\1:\2"

[MeasureSunSetPre]
Measure=Plugin
Plugin=WebParser.dll
Url=[MeasureWeather]
StringIndex=15
RegExpSubstitute=1
Substitute="m":""," ":"","^0:(.*)a":"00\1","^12:(.*)a":"00\1","^1:(.*)a":"01\1","^2:(.*)a":"02\1","^3:(.*)a":"03\1","^4:(.*)a":"04\1","^5:(.*)a":"05\1","^6:(.*)a":"06\1","^7:(.*)a":"07\1","^8:(.*)a":"08\1","^9:(.*)a":"09\1","^10:(.*)a":"10\1","^11:(.*)a":"11\1","^12:(.*)p":"12\1","^0:(.*)p":"12\1","^1:(.*)p":"13\1","^2:(.*)p":"14\1","^3:(.*)p":"15\1","^4:(.*)p":"16\1","^5:(.*)p":"17\1","^6:(.*)p":"18\1","^7:(.*)p":"19\1","^8:(.*)p":"20\1","^9:(.*)p":"21\1","^10:(.*)p":"22\1","^11:(.*)p":"23\1","^(..)(..)$":"\1:\2"

[MeasureSunRise]
Measure=Time
Format=%#I:%M %p
FormatLocale=[MeasureLanguage]
DynamicVariables=1
TimeStamp=01 01 2000 [MeasureSunRisePre]
TimeStampFormat=%d %m %Y %H:%M
TimeStampLocale=en-US
UpdateDivider=-1
OnUpdateAction=[!UpdateMeasure MeasureSunSet]

[MeasureSunSet]
Measure=Time
Format=%#I:%M %p
FormatLocale=[MeasureLanguage]
DynamicVariables=1
TimeStamp=01 01 2000 [MeasureSunSetPre]
TimeStampFormat=%d %m %Y %H:%M
TimeStampLocale=en-US
OnUpdateAction=[!UpdateMeter MeterSunset2][!UpdateMeter MeterSunrise2][!Redraw]
UpdateDivider=-1


[MeasureTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
DecodeCharacterReference=1
StringIndex=16

[MeasureTitle1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
DecodeCharacterReference=1
StringIndex=16
RegExpSubstitute=1
Substitute="^(.* at )(\d{1,2}:\d{2} ..)(.*)$":"\1"

[MeasureTitle2Pre]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
DecodeCharacterReference=1
StringIndex=16
RegExpSubstitute=1
Substitute="^(.* at )(\d{1,2}:\d{2} ..)(.*)$":"\2","m":""," ":"","^0:(.*)a":"00\1","^12:(.*)a":"00\1","^1:(.*)a":"01\1","^2:(.*)a":"02\1","^3:(.*)a":"03\1","^4:(.*)a":"04\1","^5:(.*)a":"05\1","^6:(.*)a":"06\1","^7:(.*)a":"07\1","^8:(.*)a":"08\1","^9:(.*)a":"09\1","^10:(.*)a":"10\1","^11:(.*)a":"11\1","^12:(.*)p":"12\1","^0:(.*)p":"12\1","^1:(.*)p":"13\1","^2:(.*)p":"14\1","^3:(.*)p":"15\1","^4:(.*)p":"16\1","^5:(.*)p":"17\1","^6:(.*)p":"18\1","^7:(.*)p":"19\1","^8:(.*)p":"20\1","^9:(.*)p":"21\1","^10:(.*)p":"22\1","^11:(.*)p":"23\1","^(..)(..)$":"\1:\2"
OnChangeAction=[!UpdateMeter MeterBack2]

[MeasureTitle2]
Measure=Time
Format=%#I:%M %p
FormatLocale=[MeasureLanguage]
DynamicVariables=1
TimeStamp=01 01 2000 [MeasureTitle2Pre]
TimeStampFormat=%d %m %Y %H:%M
TimeStampLocale=en-US
UpdateDivider=-1
OnUpdateAction=[!UpdateMeasure MeasureSunSet]

[MeasureTitle3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
DecodeCharacterReference=1
StringIndex=16
RegExpSubstitute=1
Substitute="^(.* at )(\d{1,2}:\d{2} ..)(.*)$":"\3"


[MeasureLink]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=17


[MeasureCondition]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=18

[MeasureIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=19

[MeasureTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=20
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=20

[MeasureDate]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=21

[MeasureForecast1Day]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=22

[MeasureForecast1Date]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=23

[MeasureForecast1Low]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=24
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast1High]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=25
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast1Text]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=26

[MeasureForecast1Code]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=27

[MeasureForecast2Day]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=28

[MeasureForecast2Date]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=29

[MeasureForecast2Low]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=30
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast2High]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=31
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast2Text]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=32

[MeasureForecast2Code]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=33

[MeasureForecast3Day]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=34

[MeasureForecast3Date]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=35

[MeasureForecast3Low]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=36
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast3High]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=37
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast3Text]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=38

[MeasureForecast3Code]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=39

[MeasureForecast4Day]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=40

[MeasureForecast4Date]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=41

[MeasureForecast4Low]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=42
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast4High]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=43
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast4Text]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=44

[MeasureForecast4Code]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=45

[MeasureForecast5Day]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=46

[MeasureForecast5Date]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=47

[MeasureForecast5Low]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=48
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast5High]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=49
RegExpSubstitute=1
Substitute="^(.+)$":"\1°"

[MeasureForecast5Text]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeather]
StringIndex=50

[MeasureForecast5Code]
Measure=Plugin
Plugin=Plugins\WebParser.dll
[snippet]Url=[MeasureWeather]
StringIndex=51
Can you tell me the WebParser parent measure where I insert !EnableMeasureGroup and !UpdateMeasureGroup?

Thank you
User avatar
moshi
Posts: 1851
Joined: November 13th, 2012, 9:53 pm

Re: metric, fahrenheit, settings.ini

moshi » March 3rd, 2015, 11:35 am

you're supposed to look at the weather forecast play outside, not to marvel at your Rainmeter log.

updated the skins.
User avatar
FreeRaider
Posts: 786
Joined: November 20th, 2012, 11:58 pm

Re: metric, fahrenheit, settings.ini

FreeRaider » March 3rd, 2015, 6:56 pm

Thank you :welcome:
User avatar
ikarus1969
Posts: 350
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: metric, fahrenheit, settings.ini

ikarus1969 » March 8th, 2015, 7:13 pm

Thank you for sharing this!

Now i can remove a variable for the temp-unit from all of my weather skins (sounds as if it's not a big deal but i definitely like such things!)

Great!