It is currently September 29th, 2024, 7:32 am

Displaying Info Acquired With WebParser On Different Meters

General topics related to Rainmeter.
Licoricemint
Posts: 10
Joined: June 6th, 2016, 1:16 am

Displaying Info Acquired With WebParser On Different Meters

Post by Licoricemint »

Hi,

I'd be grateful if someone could help. I am using the webparser function to get 5 pieces of information from a website. I can easily display these 5 pieces of information on a single meter. When I try to display them on two different meters, things go crazy.

Here is the one meter format, which works:

[MeterRightColumn]
Meter=String
MeasureName=MeasureSunRise
MeasureName2=MeasureSunSet
MeasureName3=MeasureCondition
MeasureName4=MeasureTemperature
MeasureName5=MeasureHumidity
Text="%4 °F#CRLF#%5% H#CRLF#%3#CRLF#%1 AM, %2 PM"

Here is the two meter format, which doesn't work:

[MeterCenterColumn]
Meter=String
MeasureName3=MeasureCondition
MeasureName4=MeasureTemperature
MeasureName5=MeasureHumidity
Text="%4 °F#CRLF#%5% H#CRLF#%3"

[MeterRightColumn]
Meter=String
MeasureName=MeasureSunRise
MeasureName2=MeasureSunSet
Text="%1 AM#CRLF#%2 PM"

Any help would be appreciated.

Best Regards,
Licoricemint
User avatar
balala
Rainmeter Sage
Posts: 16602
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Displaying Info Acquired With WebParser On Different Meters

Post by balala »

In each meter, the MeasureName options must be numbered starting from 1 to 3, not from 3 to 5, as you did in the [MeterCenterColumn] meter:

Code: Select all

[MeterCenterColumn]
Meter=String
MeasureName=MeasureCondition
MeasureName2=MeasureTemperature
MeasureName3=MeasureHumidity
Text="%2 °F#CRLF#%3% H#CRLF#%1"
Licoricemint
Posts: 10
Joined: June 6th, 2016, 1:16 am

Re: Displaying Info Acquired With WebParser On Different Meters

Post by Licoricemint »

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

Re: Displaying Info Acquired With WebParser On Different Meters

Post by balala »

You're welcome.