It is currently April 26th, 2024, 2:29 am

Vista Rainbar 4.6

Get help with creating, editing & fixing problems with skins
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

@electic-tech @ balala

I have downloaded this : https://www.deviantart.com/vclouds/art/VClouds-Weather-2-179058977

and i have take the the part [MeasureAlerts] and [MeterAlert] of Alert code from VCloudsWeather2, and paste it in the NewWeather Code.

In the VCloudsWeather2, in the @Resources Folder is "WeatherComJSONAlerts".

Also, i have taken from the "VCloudsWeather2" : [MeasureAlerts] and [MeterAlert] this two parts, and put it in the NewWeather Code.

In the VCloudsWeather2 the alert is working, but the same Code, what i have taken and add it in the NewWeather Code is not workin.

Did I forgot something?


In the VCloudsWeather 2 is the "Include7=#@#WeatherComJSONAlerts.inc" on the In seventh place :

Code: Select all

[Variables]
@include=#@#UserVariables.inc
@include1=#@#Language\#LangTrans#.inc
@Include2=#@#WeatherComJSONMeasures10Day.inc
@Include3=#@#WeatherComJSONVariables.inc
@Include4=#@#iohelixMoon.inc
@Include5=#@#WeatherComJSONMoon7Day.inc
@Include6=#@#WeatherComJSONPollenCurrent.inc
@Include7=#@#WeatherComJSONAlerts.inc

In the NewWeather is the "Include4=#@#WeatherComJSONAlerts.inc" on the In fourth place

Code: Select all

@Include1=#@#WeatherComJSONVariables.inc
@Include2=#@#WeatherComJSONMeasures.inc
@Include3=#@#WeatherComJSONMoon.inc
@Include4=#@#WeatherComJSONAlerts.inc
Maybe is the number the problem?
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 16th, 2022, 9:24 am Maybe is the number the problem?
No, that's definitely not a problem. You can use any number you want (if it doesn't exist previously), or even add a string (for instance @IncludeAlert=#@#WeatherComJSONAlerts.inc, or any other string / name).
Best would be to pack the whole updated NewWeather config and upload the package here, because even if we do what have you described, there might a small detail you forgot to mention. So deliver us a package, please.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

@balala thanks that you test the code, i have watch over it, but i don´t know what i have forgoten.

what i saw, is that the sunset also the time is correct, but not in 24 hours. Instead of 20:15 pm, it show 8:15 pm. It should show 20:15pm.

Could you please watch out, what i have done wrong. Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 16th, 2022, 9:24 am Did I forgot something?
I think you did forget to modify the ImagePath option of the [MeterAlert] meter. It is set to ImagePath=#@#, but the appropriate images are in the @Resources\Alerts folder, so you should replace the above mentioned ImagePath option with ImagePath=#@#Alerts.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

Thx balala, i have change it.

Other question, why the time of sunset did not show in 24 hours? It show 8:16, but it should show 20:16

Is this code not correct?

Code: Select all

[MeasureTime]
Measure=Time
Format=%H
TimeZone=0
DaylightSavingTime=0
You do not have the required permissions to view the files attached to this post.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

Update : i have read this : https://docs.rainmeter.net/manual/measures/time/

and change frome

Code: Select all

TimeFormat=%#I:%M %p
to

Code: Select all

TimeFormat=%#H:%M %p
now it show right. :D
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 18th, 2022, 8:50 am Thx balala, i have change it.
And does it work as expected?
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

hello balala,

I see now the Weather warning png, but not the information.

I have add this:

Code: Select all

[MeterAlertTooltip]
MeasureName=@Alert1Text
MeasureName2=@Alert2Text
MeasureName3=@Alert3Text
MeasureName4=@Alert4Text
MeasureName5=@Alert5Text
MeasureName6=@Alert6Text
MeasureName7=@Alert7Text
MeasureName8=@Alert8Text
Meter=STRING
X=#Alert-X#
Y=#Alert-Y#
W=#AlertSize#
H=#AlertSize#
FontColor=0,0,0,0
DynamicVariables=1
ToolTipWidth=220
ToolTipTitle=#WeatherAlert#
ToolTipIcon=Warning
ToolTipType=1
ToolTipText="(#ClickForMoreInfo#)#CRLF##CRLF#%1#CRLF##CRLF#%2#CRLF##CRLF#%3#CRLF##CRLF#%4#CRLF##CRLF#%5#CRLF##CRLF#%6#CRLF##CRLF#%7#CRLF##CRLF#%8"
Hidden=1
but it show not the information.

Other problem, the third day weather png is missing.

ImageName: Unable to open: C:\Users\sontel\OneDrive\Documents\Rainmeter\Skins\NewWeather\@Resources\Images\04sm.png (NewWeather\NewWeather.ini)

As you know, last week i have change the numbers of the weather png. Befor was 04sm, i have change it to 4sm.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16172
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 20th, 2022, 8:03 am I have add this:

Code: Select all

[MeterAlertTooltip]
MeasureName=@Alert1Text
MeasureName2=@Alert2Text
MeasureName3=@Alert3Text
MeasureName4=@Alert4Text
MeasureName5=@Alert5Text
MeasureName6=@Alert6Text
MeasureName7=@Alert7Text
MeasureName8=@Alert8Text
Meter=STRING
X=#Alert-X#
Y=#Alert-Y#
W=#AlertSize#
H=#AlertSize#
FontColor=0,0,0,0
DynamicVariables=1
ToolTipWidth=220
ToolTipTitle=#WeatherAlert#
ToolTipIcon=Warning
ToolTipType=1
ToolTipText="(#ClickForMoreInfo#)#CRLF##CRLF#%1#CRLF##CRLF#%2#CRLF##CRLF#%3#CRLF##CRLF#%4#CRLF##CRLF#%5#CRLF##CRLF#%6#CRLF##CRLF#%7#CRLF##CRLF#%8"
Hidden=1
but it show not the information.
There are a few problems with this meter:
  • It has no Text option, and such in a case it uses the default Text=%1 option, showing the value returned by the [@Alert1Text] measure. The values of the other measures are used only in the tooltip. If this is what you wanted, it's alright. But is it?
  • The meter is hidden due to the Hidden=1 option. You probably should remove this option, in order to have the meter shown.
  • The meter itself is not visible, because the FontColor option is set to FontColor=0,0,0,0. This means a completely transparent color for the fonts, so you won't see the meter.
  • In order to get the meter easier responding to mouse hovering, I suggest to add a SolidColor=0,0,0,1 option. This creates a not visible background for the meter (its transparence being set to 1 from 255 - the last value of the above color code), which reacts to mouse hovering, showing the tooltip.
  • Are the #Alert-X#, #Alert-Y#, #AlertSize# and #AlertSize# variables (used in the X, Y, W and H options accordingly) variables properly defined into the [Variables] section? If they are not, could create problems.
Fix these issues, if any of them is applicable in your case. Take care especially to the last one, related to the variables.
Do you see the tooltip now if you're hovering the mouse over the meter?
Sontel123 wrote: May 20th, 2022, 8:03 am ImageName: Unable to open: C:\Users\sontel\OneDrive\Documents\Rainmeter\Skins\NewWeather\@Resources\Images\04sm.png (NewWeather\NewWeather.ini)

As you know, last week i have change the numbers of the weather png. Befor was 04sm, i have change it to 4sm.
Rename them back to their original names. A proper substitution could be made on the appropriate measures, however I'm not sure why should you complicate things. Using the original file names should fix this problems.
On the other hand, why have you removed those 0s?
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

Hello Balala,

Sorry for late response.

I don´t know what happend, but there are no problems with the Rainbar Weather. Thanks for your help again. :thumbup:

I have a question, it is possible to switch between Weather,Com and Yahoo weather?

I chose weather.com, but I'm curious how reliable yahooweather is.

Now i have Code (Rainbar) for the weather.com


and i would try out the Rainbar Code for YahooWeather.

I have to add only this to Rainbar folder?:
For yahoo weather.

Code: Select all

@Include=#@#GeneralVariables.inc
@Include2=#@#YahooComVariables.inc
@Include3=#@#YahooComMeasures.inc
@Include4=#@#YahooComLanguage.inc