Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1407

Help: Rainmeter Application • Re: WebParser.dll Missing After Rainmeter Installation

$
0
0
Just in case you didn't make it by now, and considering that you said it's your first skin, this is how your ProEN.ini from that AirPollution skin by xenium should look like:

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1BackgroundMode=2SolidColor=0,0,0,1[Metadata]Name=AIR PollutionAuthor=xxeniumInformation=Real-time information about air pollutionData source=Plume Labs (https://air.plumelabs.com/en/)Version=1.0License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0[Variables]@Include=#@#Variables.incURL=#LocationURL#Lat=28.63576Lon=77.22445Key=544033cf3141d456f26927c37907558c58a6a276size=#SizeValue#;========== MEASURES ====================[MeasureIndex]Measure=WebParserUrl=https://api.waqi.info/feed/geo:#Lat#;#Lon#/?token=#Key#RegExp=(?siU).*"aqi":(.*),.*"city".*"name":"(.*)",.*"o3".*"avg":(.*),.*"pm10".*"avg":(.*),.*"pm25".*"avg":(.*),.*"uvi".*"avg":(.*),UpdateRate=600LogSubstringErrors=0[MeasureAQI]Measure=WebParserUrl=[MeasureIndex]StringIndex=1[MeasureCity]Measure=WebParserUrl=[MeasureIndex]StringIndex=2[MeasureO3]Measure=WebParserUrl=[MeasureIndex]StringIndex=3[MeasurePM10]Measure=WebParserUrl=[MeasureIndex]StringIndex=4[MeasurePM25]Measure=WebParserUrl=[MeasureIndex]StringIndex=5[MeasureUVI]Measure=WebParserUrl=[MeasureIndex]StringIndex=6[MeasureColor]Measure=CalcFormula=(((MeasureAQI >= 0) && (MeasureAQI <= 50)) ? 1 : (((MeasureAQI >= 51) && (MeasureAQI <= 100)) ? 2 : (((MeasureAQI >= 101) && (MeasureAQI <= 200)) ? 3 : (((MeasureAQI >= 201) && (MeasureAQI <= 300)) ? 4 : (((MeasureAQI >= 301) && (MeasureAQI <= 400)) ? 5 : (((MeasureAQI >= 401) && (MeasureAQI <= 500)) ? 6 :7))))))[MeasureLevel]Measure=CalcIfCondition=(MeasureAQI >= 0) && (MeasureAQI <= 50)IfTrueAction=[!SetOption MeterLevel Text "Good"]IfCondition2=(MeasureAQI >= 51) && (MeasureAQI <= 100)IfTrueAction2=[!SetOption MeterLevel Text "Satisfactory"]IfCondition3=(MeasureAQI >= 101) && (MeasureAQI <= 200)IfTrueAction3=[!SetOption MeterLevel Text "Moderate"]IfCondition4=(MeasureAQI >= 201) && (MeasureAQI <= 300)IfTrueAction4=[!SetOption MeterLevel Text "Poor"]IfCondition5=(MeasureAQI >= 301) && (MeasureAQI <= 400)IfTrueAction5=[!SetOption MeterLevel Text "Very Poor"]IfCondition6=(MeasureAQI >= 401) && (MeasureAQI <= 500)IfTrueAction6=[!SetOption MeterLevel Text "Severe"]IfCondition7=MeasureAQI > 500IfTrueAction7=[!SetOption MeterLevel Text "Hazardous"];========= METERS ===========================[MeterImage]Meter=ImageX=(#size#*25)Y=0W=(#size#*140)H=(#size#*128)ImageName=#@#symbol\[MeasureColor].pngDynamicVariables=1LeftMouseUpAction=!ToggleConfig "AIRPollution\Settings" "SettingsEN.ini"[MeterAQI]Meter=StringMeasureName=MeasureAQIX=(#size#*95)Y=(#size#*47)W=(#size#*100)H=(#size#*50)FontSize=(#size#*50)FontColor=#FontColor#StringStyle=NORMALStringEffect=SHADOWFontFace=#FontFace2#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1[MeterLevel]Meter=StringX=(#size#*95)Y=(#size#*130)W=(#size#*200)H=(#size#*50)FontSize=(#size#*18)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1ClipString=1StringCase=Upper[MeterPollutants]Meter=StringX=(#size#*190)Y=0W=(#size#*250)H=(#size#*50)FontSize=(#size#*14)FontColor=255,255,255,240StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=leftFontEffectColor=#FontEffectColor#AntiAlias=1ClipString=1Text=MAIN POLLUTANTS ( AQI )[MeterPM25]Meter=StringMeasureName=MeasurePM25X=(#size#*220)Y=(#size#*35)W=(#size#*100)H=(#size#*50)FontSize=(#size#*16)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1[MeterPM25label]Meter=StringX=(#size#*220)Y=(#size#*60)W=(#size#*100)H=(#size#*50)FontSize=(#size#*14)FontColor=#FontColor2#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1Text=PM25 [MeterPM10]Meter=StringMeasureName=MeasurePM10X=(#size#*310)Y=(#size#*35)W=(#size#*100)H=(#size#*50)FontSize=(#size#*16)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1[MeterPM10label]Meter=StringX=(#size#*310)Y=(#size#*60)W=(#size#*100)H=(#size#*50)FontSize=(#size#*14)FontColor=#FontColor2#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1Text=PM10[MeterUVI]Meter=StringMeasureName=MeasureUVIX=(#size#*390)Y=(#size#*35)W=(#size#*100)H=(#size#*50)FontSize=(#size#*16)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1[MeterUVIlabel]Meter=StringX=(#size#*390)Y=(#size#*60)W=(#size#*100)H=(#size#*50)FontSize=(#size#*14)FontColor=#FontColor2#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1Text=UVI[MeterO3]Meter=StringMeasureName=MeasureO3X=(#size#*466)Y=(#size#*35)W=(#size#*100)H=(#size#*50)FontSize=(#size#*16)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1[MeterO3label]Meter=StringX=(#size#*466)Y=(#size#*60)W=(#size#*100)H=(#size#*50)FontSize=(#size#*14)FontColor=#FontColor2#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=centerFontEffectColor=#FontEffectColor#AntiAlias=1Text=O3[MeterCity]Meter=StringMeasureName=MeasureCityX=(#size#*190)Y=(#size#*95)W=(#size#*400)H=(#size#*150)FontSize=(#size#*14)FontColor=#FontColor#StringStyle=BoldStringEffect=SHADOWFontFace=#FontFace#StringAlign=leftFontEffectColor=#FontEffectColor#AntiAlias=1ClipString=1;============================[MeterOrizLine]Meter=ImageSolidColor=255,255,255,150X=(#size#*190)Y=(#size#*30)W=(#size#*400)H=(#size#*2)[MeterOrizLine2]Meter=ImageSolidColor=255,255,255,150X=(#size#*190)Y=(#size#*90)W=(#size#*400)H=(#size#*2)[InfoAQIicon]Meter=ImageX=(#size#*560)Y=0W=(#size#*25)H=(#size#*25)ImageName=#@#info.pngMouseOverAction=[!ShowMeter InfoAQI]MouseLeaveAction=[!HideMeter InfoAQI][InfoAQI]Meter=ImageX=(#size#*190)Y=(#size#*30)W=(#size#*400)H=(#size#*248)ImageName=#@#img.pngHidden=1
Make sure you compare it with the original to understand the differences. They are fery few of them, and not complicated at all, but wrapping your head around them will help you going forward, if you encounter similar situations. The rest, i.e. photoshopping the images in the "symbol" folder to the colors you want, it's entirely up to you.

P.S. It wasn't technically required, but I changed some of the relevant measure / meter names, so that things are clearer in the new scenario.
As a side note, it's sad to see how these "indian standards" are used precisely against the health of the people they should protect, by omitting NO2 from the pollutants and branding a much higher level of pollution as acceptable... just saying. :uhuh:

Statistics: Posted by Yincognito — Today, 9:52 am



Viewing all articles
Browse latest Browse all 1407

Trending Articles