It is currently May 5th, 2024, 2:34 pm

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 »

Open Rainmeter Editor

"Rainmeter Editor"

i see this:

Code: Select all

SkinPath=C:\Users\suntel\OneDrive\Documents\Rainmeter\Skins\
Change it to:

Code: Select all

SkinPath=C:\Users\suntel\Documents\Rainmeter\Skins\
Save it, and restart Rainmeter.

when i open and i look in the "Rainmenter Editor" again I see this :

Code: Select all

SkinPath=C:\Users\suntel\OneDrive\Documents\Rainmeter\Skins\
Even I have changed the text and saved it, the skinpath still doesn't change.

1. Rainmeter unistall it, in OneDrive the Folder "Rainmeter deleted", OneDrive disabled.
2. Install Rainmeter, normal installation
3. Start Rainmeter, Open "Rainmeter Editor" and i see this:

Code: Select all

SkinPath=C:\Users\suntel\OneDrive\Documents\Rainmeter\Skins\
4. Change the Skinpath to :

Code: Select all

SkinPath=C:\Users\suntel\Dokumente\Rainmeter\Skins\
save it, and restart Rainmeter agian.

5. Open the Rainmeter Editor again, and i see this:

Code: Select all

SkinPath=C:\Users\suntel\OneDrive\Documents\Rainmeter\Skins\
Remark: OneDrive is disabled, i´m logout of OneDrive.

:confused: i´m realy confused.
Meanwhile i have delete some Weather pngs, and there are only small png and large, accordingly.
User avatar
balala
Rainmeter Sage
Posts: 16200
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 2nd, 2022, 9:55 am :confused: i´m realy confused.
Me too.
Just out of curiosity:
  • Open Rainmeter.ini (by clicking the Edit settings in the right-click menu on Rainmeter icon).
  • Exit Rainmeter.
  • Modify the SkinPath in Rainmeter.ini.
  • Save and close the text editor.
  • Open Rainmeter.ini once again, without loading Rainmeter (you probably will have to find it in Explorer - take care, it is into a hidden folder: C:\Users\YourName\AppData\Roaming\Rainmeter\Rainmeter.ini - AppData is hidden).
Is the SkinPath modified?
If it is, try restarting Rainmeter, keeping Rainmeter.ini open in the text editor. Open another instance of Rainmeter.ini. Do you have the same SkinPath in both instances of Rainmeter.ini?
Or maybe anyone has an idea on what's going on, why is the SkinPath changing just like that? To be honest I never saw something like this, however is true that extremely rarely modified the SkinPath in Rainmeter.ini.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

I have follow your instructions, but it did not worked, i think something is wrong with my computer or windows, because Rainmeter is working fine.

Anyway, i have install Rainmeter normal, and is working.

I have worked on the code, and delete some weather png. Also there are now only smal weather png and big weather png.
I asking me, what will happend, when i change the number of the weather png ( see on the weather png). Befor was weather png Medium 28, big weather png 28+ and the weather png smal 28sm.
now i have delete all the Medium weather png, there are now only the big weather + and small weather sm. png
What if i remove the + from the big weather png? Bevor 28+ after will it be only with the number 28.
Mean this that i have to change the code again?
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 »

Sorry i have forgot the process, how far i´m now.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16200
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 5th, 2022, 8:29 am Anyway, i have install Rainmeter normal, and is working.
What you mean by "i have install Rainmeter normal"? How had you installed Rainmeter before? If you had a portable instalation, this could explain many things.
Sontel123 wrote: May 5th, 2022, 8:29 am I have worked on the code, and delete some weather png. Also there are now only smal weather png and big weather png.
I asking me, what will happend, when i change the number of the weather png ( see on the weather png).
Once again, what you mean by "when i change the number of the weather png"? Hope you don't want to manually add the appropriate number. That number is returned by a measure (most probably something like [@CurrentIcon]), you don't have to worry about it and don't have to do anything related to it. The skin gets the number from the measure and shows the image with the same number, existing as a resource somewhere in the config (preferably should be in the @Resources folder, but this is finally not mandatory).
Sontel123 wrote: May 5th, 2022, 8:29 am now i have delete all the Medium weather png, there are now only the big weather + and small weather sm. png
What if i remove the + from the big weather png? Bevor 28+ after will it be only with the number 28.
Mean this that i have to change the code again?
You can remove those + sign, however note that in such a case the code has obviously to be adapted accordingly. If you're a beginner, I recommend to keep everything as it is. Doesn't hurt.

Pack the config as you have it now and upload the package here, to can check.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

How had you installed Rainmeter before? If you had a portable instalation, this could explain many things.
Normal instalation, not portable.
Hope you don't want to manually add the appropriate number.
Only remove those + sign.
Pack the config as you have it now and upload the package here, to can check.

Code: Select all

[Rainmeter]
Update=600
AccurateText=1

[Metadata]
Name=NewWeather Gadget #1 | Style 1
Author=NoName
Information=No
Version=1
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0

Description=Shows the current weather conditions.

[Variables]
Include weather settings and language variables 

@Include1=#@#WeatherComJSONVariables.inc
@Include2=#@#WeatherComJSONMeasures.inc
@Include3=#@#WeatherComJSONMoon.inc

Palmtree=Y

FontName=Segoe UI
TxtColor=255,255,255
ShwColor=0,0,0
TxtColor2=255,255,255,160

[MeterString]
Meter=String


[MeasureNA]
Measure=Calc
Formula=1
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterHideMeter NA][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterShowMeter NA][!RainmeterRedraw]

[MeasureSunR]
Measure=String
String=[@CurrentSunriseTime]
DynamicVariables=1

[MeasureSunS]
Measure=String
String=[@CurrentSunsetTime]
DynamicVariables=1

[MeasurePhase]
Measure=String
String=[@MoonDay1PhaseName]
RegExpSubstitute=1
Substitute="^(.*)$":"\images\\1.png"
DynamicVariables=1

[MeasureIconDef]
Measure=String
String=[@CurrentIcon]
DynamicVariables=1

[MeasureIcon]
Measure=CALC
Formula=99000088 + (MeasureIconDef*1000)
Substitute="990":"..\images\","088":".png"
RegExpSubstitute=1
DynamicVariables=1

[MeasureTime]
Measure=Time
Format=%H
TimeZone=0
DaylightSavingTime=0

[MeasureZoneFull]
Measure=String
String=[@CurrentObservationTimeStamp]
RegExpSubstitute=1
Substitute="^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([\d\-\+]*)(\d{2})$":"\1:\2"
DynamicVariables=1

[MeasureZone]
Measure=String
String=[MeasureZoneFull]
DynamicVariables=1

[MeasureBlack]
Measure=Calc
Formula=((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Black][!RainmeterHideMeter Blue][!RainmeterShowMeter BlackDeco][!RainmeterHideMeter BlueDeco][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter Black][!RainmeterShowMeter Blue][!RainmeterHideMeter BlackDeco][!RainmeterShowMeter BlueDeco][!RainmeterRedraw]

[MeasureOrange]
Measure=Calc
Formula=((MeasureTime + MeasureZone) = MeasureSunR) || ((MeasureTime + MeasureZone) = (MeasureSunS + 12)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Orange][!RainmeterShowMeter OrangeDeco][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter Orange][!RainmeterHideMeter OrangeDeco][!RainmeterRedraw]

[MeasureOrange2]
Measure=Calc
Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) || ((MeasureIconDef = 29) || (MeasureIconDef = 30) || (MeasureIconDef = 31) || (MeasureIconDef = 32) || (MeasureIconDef = 33) || (MeasureIconDef = 34) || (MeasureIconDef = 36) || (MeasureIconDef = 37) || (MeasureIconDef = 39) || (MeasureIconDef = 44)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterHideMeter Orange2][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterShowMeter Orange2][!RainmeterRedraw]

[MeasureEtoiles]
Measure=Calc
Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) && ((MeasureIconDef = 27) || (MeasureIconDef = 29) || (MeasureIconDef = 31) || (MeasureIconDef = 33) || (MeasureIconDef = 34) || (MeasureIconDef = 45) || (MeasureIconDef = 46) || (MeasureIconDef = 47)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Etoiles][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter Etoiles][!RainmeterRedraw]

[MeasureMoon]
Measure=Calc
Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) && ((MeasureIconDef=31) || (MeasureIconDef=32) || (MeasureIconDef=33) || (MeasureIconDef=34) || (MeasureIconDef=36)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Moon][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter Moon][!RainmeterRedraw]

[MeasureSun]
Measure=Calc
Formula=(((MeasureTime + MeasureZone) > (MeasureSunR - 1)) && ((MeasureTime + MeasureZone) < (MeasureSunS + 13))) && ((MeasureIconDef=31) || (MeasureIconDef=32) || (MeasureIconDef=33) || (MeasureIconDef=34) || (MeasureIconDef=36)) ? (1) : (-1)
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Sun][!RainmeterRedraw]
IfBelowValue=0
IfBelowAction=!Execute [!RainmeterHideMeter Sun][!RainmeterRedraw]

[MeasureSky]
Measure=String
String=[@CurrentConditions]
DynamicVariables=1

[MeasureTemp]
Measure=String
String=[@CurrentTemperature]
DynamicVariables=1

[MeasureTempMax]
Measure=String
String=[@ForecastTodayHighTemperature]
DynamicVariables=1

[MeasureTempMin]
Measure=String
String=[@ForecastTodayLowTemperature]
DynamicVariables=1

[MeasureLocationFull]
Measure=String
String=[@LocationName],
RegExpSubstitute=1
Substitute=", ,":",","(?U)^(.*), (.*), (.*), (.*)$":"\1, \3, \4"
DynamicVariables=1

[MeasureWeatherDate1]
Measure=String
String=[@ForecastDay2DayLong]
DynamicVariables=1

[MeasureWeatherTemp1]
Measure=String
String=[@ForecastDay2HighTemperature]
DynamicVariables=1

[MeasureWeatherTempMin1]
Measure=String
String=[@ForecastDay2LowTemperature]
DynamicVariables=1

[MeasureWeatherIcon1Def]
Measure=String
String=[@ForecastDay2DayIcon]
DynamicVariables=1

[MeasureWeatherIcon1]
Measure=Calc
Formula=99000088 + (MeasureWeatherIcon1Def*1000)
RegExpSubstitute=1
Substitute="^990":"..\images\","088$":"sm.png"
DynamicVariables=1

[MeasureWeatherDate2]
Measure=String
String=[@ForecastDay3DayLong]
DynamicVariables=1

[MeasureWeatherTemp2]
Measure=String
String=[@ForecastDay3HighTemperature]
DynamicVariables=1

[MeasureWeatherTempMin2]
Measure=String
String=[@ForecastDay3LowTemperature]
DynamicVariables=1

[MeasureWeatherIcon2Def]
Measure=String
String=[@ForecastDay3DayIcon]
DynamicVariables=1

[MeasureWeatherIcon2]
Measure=Calc
Formula=99000088 + (MeasureWeatherIcon2Def*1000)
RegExpSubstitute=1
Substitute="^990":"..\images\","088$":"sm.png"
DynamicVariables=1

[MeasureWeatherDate3]
Measure=String
String=[@ForecastDay4DayLong]
DynamicVariables=1

[MeasureWeatherTemp3]
Measure=String
String=[@ForecastDay4HighTemperature]
DynamicVariables=1

[MeasureWeatherTempMin3]
Measure=String
String=[@ForecastDay4LowTemperature]
DynamicVariables=1

[MeasureWeatherIcon3Def]
Measure=String
String=[@ForecastDay4DayIcon]
DynamicVariables=1

[MeasureWeatherIcon3]
Measure=Calc
Formula=99000088 + (MeasureWeatherIcon3Def*1000)
RegExpSubstitute=1
Substitute="^990":"..\images\","088$":"sm.png"
DynamicVariables=1

[@CurrentUVDescription]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=15
RegExpSubstitute=1
Substitute=#CommonSubstitute#

[@CurrentUVIndex]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=16
MinValue=0
MaxValue=10
RegExpSubstitute=1
Substitute=#CommonSubstitute#

[@UnitsSpeed]
Measure=String
String=#Units#
RegExpSubstitute=1
Substitute="^m$":"km/h","^e$":"mph","^h$":"mph"

[@CurrentWindDirectionDegrees]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=19
MinValue=0
MaxValue=360
RegExpSubstitute=1
Substitute=#CommonSubstitute#


[@CurrentWindDirectionCompass]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=20
RegExpSubstitute=1
Substitute=#CommonSubstitute#

[@CurrentWindGust]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=21
RegExpSubstitute=1
Substitute=#CommonSubstitute#

[@CurrentWindSpeed]
Measure=WebParser
URL=[@CurrentConditionsParent]
StringIndex=22
RegExpSubstitute=1
Substitute=#CommonSubstitute#
###

###

[Black]
Meter=IMAGE
ImageName=..\img\Black.png
Hidden=1

[Blue]
Meter=IMAGE
ImageName=..\img\Blue.png
Hidden=1

[Orange]
Meter=IMAGE
ImageName=..\img\Orange.png
Hidden=1

[Orange2]
Meter=IMAGE
ImageName=..\img\Gray.png
Hidden=1

[Etoiles]
Meter=IMAGE
ImageName=..\img\Etoiles.png
Hidden=1

[Moon]
Meter=IMAGE
MeasureName=MeasurePhase
Hidden=1

[Sun]
Meter=IMAGE
ImageName=..\img\Sun.png
Hidden=1

[MeterIcon]
MeasureName=MeasureIcon
ImagePath=#@#
Meter=IMAGE

[BlackDeco]
Meter=IMAGE
ImageName=..\img\BlackDeco#Palmtree#.png
Hidden=1

[BlueDeco]
Meter=IMAGE
ImageName=..\img\BlueDeco#Palmtree#.png
Hidden=1

[OrangeDeco]
Meter=IMAGE
ImageName=..\img\OrangeDeco#Palmtree#.png
Hidden=1

[Colonne]
Meter=IMAGE
X=89
Y=108
H=45
W=1
SolidColor=0,0,0,160

[Colonne2]
Meter=IMAGE
X=1r
Y=0r
H=45
W=1
SolidColor=255,255,255,60

[Colonne3]
Meter=IMAGE
X=77r
Y=0r
H=45
W=1
SolidColor=0,0,0,160

[Colonne4]
Meter=IMAGE
X=1r
Y=0r
H=45
W=1
SolidColor=255,255,255,60

[Ligne]
Meter=IMAGE
X=14
Y=47r
H=1
W=228
SolidColor=0,0,0,160

[Ligne2]
Meter=IMAGE
X=0r
Y=1r
H=1
W=228
SolidColor=255,255,255,60

[Title1]
MeasureName=MeasureLocationFull
Meter=STRING
X=241
Y=85
H=20
W=220
;FontColor=#TxtColor#
StringStyle=BOLD
FontSize=10
StringAlign=RIGHT
Clipstring=1
FontFace=#FontName#
Antialias=1
Text=%1

[Title]
MeasureName=MeasureLocationFull
Meter=STRING
X=1r
Y=-1r
H=20
W=220
FontColor=#TxtColor#
StringStyle=BOLD
FontSize=10
StringAlign=RIGHT
Clipstring=1
FontFace=#FontName#
Antialias=1
Text=%1
LeftMouseUpAction=[https://weather.com/weather/today/l/#Latitude#,#Longitude#]
MouseActionCursor=1


[TempShadow]
MeasureName=MeasureTemp
Meter=STRING
X=246
Y=5
;FontColor=#TxtColor#
StringStyle=normal
FontSize=25
StringAlign=right
FontFace=#FontName#
Antialias=1
Postfix=°C

[Temp]
MeasureName=MeasureTemp
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=normal
FontSize=25
StringAlign=right
FontFace=#FontName#
Antialias=1
Postfix=°C

[Sky]
MeasureName=MeasureSky
Meter=STRING
X=241
Y=42
;FontColor=#TxtColor#
StringStyle=bold
FontSize=10
StringAlign=right
FontFace=#FontName#
Antialias=1

[Sky2]
MeasureName=MeasureSky
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=10
StringAlign=right
FontFace=#FontName#
Antialias=1


[TempMinMaxShadow]
MeasureName=MeasureTempMin
MeasureName2=MeasureTempMax
Meter=STRING
X=241
Y=57
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=right
FontFace=#FontName#
Antialias=1
Text=%1°   -   %2°

[TempMinMax]
MeasureName=MeasureTempMin
MeasureName2=MeasureTempMax
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=right
FontFace=#FontName#
Antialias=1
Text=%1°   -   %2°

[Icon1]
MeasureName=MeasureWeatherIcon1
ImagePath=#@#
Meter=IMAGE
X=44
Y=120
W=42
H=34

[TempMin1Shw]
MeasureName=MeasureWeatherTempMin1
Meter=STRING
X=16
Y=137
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[TempMin1]
MeasureName=MeasureWeatherTempMin1
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Temp1Shw]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=16
Y=121
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°


[Temp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Date1Shw]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=16
Y=103
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1

[Date1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1

[Icon2]
MeasureName=MeasureWeatherIcon2
ImagePath=#@#
Meter=IMAGE
X=121
Y=120
W=42
H=34

[TempMin2Shw]
MeasureName=MeasureWeatherTempMin2
Meter=STRING
X=94
Y=137
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[TempMin2]
MeasureName=MeasureWeatherTempMin2
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Temp2Shw]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=94
Y=121
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Temp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Date2Shw]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=94
Y=103
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1


[Date2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1

[Icon3]
MeasureName=MeasureWeatherIcon3
ImagePath=#@#
Meter=IMAGE
X=198
Y=120
W=42
H=34

[TempMin3Shw]
MeasureName=MeasureWeatherTempMin3
Meter=STRING
X=171
Y=137
;FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[TempMin3]
MeasureName=MeasureWeatherTempMin3
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Temp3Shw]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=171
Y=121
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°


[Temp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1
Postfix=°

[Date3Shw]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=171
Y=103
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1

[Date3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=1r
Y=-1r
FontColor=#TxtColor#
StringStyle=bold
FontSize=9
StringAlign=left
FontFace=#FontName#
Antialias=1

[MeterCurrentWind]
MeasureName=@CurrentWindSpeed
MeasureName2=@UnitsSpeed
MeasureName3=@CurrentWindDirectionCompass
Meter=String
X=160
Y=72
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=8
StringAlign=left
StringStyle=bold
AntiAlias=1
Text="Wind: %1 %2 %3"

[MeterSunR]
MeasureName=MeasureSunR
Meter=STRING
X=16
Y=155
FontColor=#TxtColor#
StringStyle=bold
FontSize=8
StringAlign=left
FontFace=#FontName#
;Text=" %1 "
Antialias=1

[MeterSunS]
MeasureName=MeasureSunS
Meter=STRING
X=241
Y=155
FontColor=#TxtColor#
StringStyle=bold
FontSize=8
StringAlign=right
FontFace=#FontName#
;Text=" %1 "
Antialias=1

[MeterUVIndex]
MeasureName=@CurrentUVIndex
MeasureName2=@CurrentUVDescription
Meter=String
X=130
Y=155
FontFace=#FontFace#
FontColor=#FontColor#
FontSize=8
StringAlign=center
StringStyle=bold
AntiAlias=1
Text=    "UV Index : %1 %2"

[NA]
Meter=IMAGE
ImageName=img\NA.png
Hidden=1

###


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

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 6th, 2022, 2:36 am Normal instalation, not portable.
Then I don't know what was the issue there. However I think it is working now, at least this is what I'm assuming, based on your screenshot. Am I right?
Sontel123 wrote: May 6th, 2022, 2:36 am Only remove those + sign.
You have to adapt the code accordingly.

Two mentions:
  • The code in this form is completely useless. We need the resources (for instance the images placed into the @Resources folder, but there are many others as well) in order to can see how your skin is working. That's why I asked not for the code, but you to pack the whole config (it can be a .rmskin, but same well is a .zip, .rar or whatever else) and upload the package here. The code, besides the images, is using some other included files as well (like @Resources\WeatherComJSONVariables.inc, @Resources\WeatherComJSONMeasures.inc and @Resources\WeatherComJSONMoon.inc), which are needed. So if you want to get more specific help, please pack the config and upload the package.
  • Both the !Rainmeter... bang prefix and the !Execute bang have been deprecated long time ago. Recommend you to remove them from the code.
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

The file what you wanted.

Look over it, hope you can see, what i have done wrong.

Thanks for your help.
You do not have the required permissions to view the files attached to this post.
User avatar
balala
Rainmeter Sage
Posts: 16200
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Vista Rainbar 4.6

Post by balala »

Sontel123 wrote: May 8th, 2022, 4:15 am Look over it, hope you can see, what i have done wrong.
Yep, I see a few issues:
  • Move the Images folder form the root config (from the NewWeather folder) into the @Resources folder. Since the best place for all kind of resources (including images) is the @Resources folder, for now more or less became desirable to have those resources into this folder. So move the folder.
  • Replace the code of the skin (the content of the NewWeather.ini file) with the following one:

    Code: Select all

    [Rainmeter]
    Update=600
    AccurateText=1
    
    [Metadata]
    Name=NewWeather Gadget #1 | Style 1
    Author=NoName
    Information=No
    Version=1
    License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0
    
    Description=Shows the current weather conditions.
    
    [Variables]
    Include weather settings and language variables 
    
    @Include1=#@#WeatherComJSONVariables.inc
    @Include2=#@#WeatherComJSONMeasures.inc
    @Include3=#@#WeatherComJSONMoon.inc
    
    Palmtree=Y
    
    FontName=Segoe UI
    TxtColor=255,255,255
    ShwColor=0,0,0
    TxtColor2=255,255,255,160
    
    [MeterString]
    Meter=String
    
    
    [MeasureNA]
    Measure=Calc
    Formula=1
    IfAboveValue=0
    IfAboveAction=[!HideMeter NA][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!ShowMeter NA][!Redraw]
    
    [MeasureSunR]
    Measure=String
    String=[@CurrentSunriseTime]
    DynamicVariables=1
    
    [MeasureSunS]
    Measure=String
    String=[@CurrentSunsetTime]
    DynamicVariables=1
    
    [MeasurePhase]
    Measure=String
    String=[@MoonDay1PhaseName]
    RegExpSubstitute=1
    Substitute="^(.*)$":"#@#Images\\1.png"
    DynamicVariables=1
    
    [MeasureIconDef]
    Measure=String
    String=[@CurrentIcon]
    DynamicVariables=1
    
    [MeasureIcon]
    Measure=CALC
    Formula=99000088 + (MeasureIconDef*1000)
    Substitute="990":"#@#Images\","088":".png"
    RegExpSubstitute=1
    DynamicVariables=1
    
    [MeasureTime]
    Measure=Time
    Format=%H
    TimeZone=0
    DaylightSavingTime=0
    
    [MeasureZoneFull]
    Measure=String
    String=[@CurrentObservationTimeStamp]
    RegExpSubstitute=1
    Substitute="^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([\d\-\+]*)(\d{2})$":"\1:\2"
    DynamicVariables=1
    
    [MeasureZone]
    Measure=String
    String=[MeasureZoneFull]
    DynamicVariables=1
    
    [MeasureBlack]
    Measure=Calc
    Formula=((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!ShowMeter Black][!HideMeter Blue][!ShowMeter BlackDeco][!HideMeter BlueDeco][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!HideMeter Black][!ShowMeter Blue][!HideMeter BlackDeco][!ShowMeter BlueDeco][!Redraw]
    
    [MeasureOrange]
    Measure=Calc
    Formula=((MeasureTime + MeasureZone) = MeasureSunR) || ((MeasureTime + MeasureZone) = (MeasureSunS + 12)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!ShowMeter Orange][!ShowMeter OrangeDeco][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!HideMeter Orange][!HideMeter OrangeDeco][!Redraw]
    
    [MeasureOrange2]
    Measure=Calc
    Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) || ((MeasureIconDef = 29) || (MeasureIconDef = 30) || (MeasureIconDef = 31) || (MeasureIconDef = 32) || (MeasureIconDef = 33) || (MeasureIconDef = 34) || (MeasureIconDef = 36) || (MeasureIconDef = 37) || (MeasureIconDef = 39) || (MeasureIconDef = 44)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!HideMeter Orange2][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!ShowMeter Orange2][!Redraw]
    
    [MeasureEtoiles]
    Measure=Calc
    Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) && ((MeasureIconDef = 27) || (MeasureIconDef = 29) || (MeasureIconDef = 31) || (MeasureIconDef = 33) || (MeasureIconDef = 34) || (MeasureIconDef = 45) || (MeasureIconDef = 46) || (MeasureIconDef = 47)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!ShowMeter Etoiles][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!HideMeter Etoiles][!Redraw]
    
    [MeasureMoon]
    Measure=Calc
    Formula=(((MeasureTime + MeasureZone) < MeasureSunR) || ((MeasureTime + MeasureZone) > (MeasureSunS + 12))) && ((MeasureIconDef=31) || (MeasureIconDef=32) || (MeasureIconDef=33) || (MeasureIconDef=34) || (MeasureIconDef=36)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!ShowMeter Moon][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!HideMeter Moon][!Redraw]
    
    [MeasureSun]
    Measure=Calc
    Formula=(((MeasureTime + MeasureZone) > (MeasureSunR - 1)) && ((MeasureTime + MeasureZone) < (MeasureSunS + 13))) && ((MeasureIconDef=31) || (MeasureIconDef=32) || (MeasureIconDef=33) || (MeasureIconDef=34) || (MeasureIconDef=36)) ? (1) : (-1)
    IfAboveValue=0
    IfAboveAction=[!ShowMeter Sun][!Redraw]
    IfBelowValue=0
    IfBelowAction=[!HideMeter Sun][!Redraw]
    
    [MeasureSky]
    Measure=String
    String=[@CurrentConditions]
    DynamicVariables=1
    
    [MeasureTemp]
    Measure=String
    String=[@CurrentTemperature]
    DynamicVariables=1
    
    [MeasureTempMax]
    Measure=String
    String=[@ForecastTodayHighTemperature]
    DynamicVariables=1
    
    [MeasureTempMin]
    Measure=String
    String=[@ForecastTodayLowTemperature]
    DynamicVariables=1
    
    [MeasureLocationFull]
    Measure=String
    String=[@LocationName],
    RegExpSubstitute=1
    Substitute=", ,":",","(?U)^(.*), (.*), (.*), (.*)$":"\1, \3, \4"
    DynamicVariables=1
    
    [MeasureWeatherDate1]
    Measure=String
    String=[@ForecastDay2DayLong]
    DynamicVariables=1
    
    [MeasureWeatherTemp1]
    Measure=String
    String=[@ForecastDay2HighTemperature]
    DynamicVariables=1
    
    [MeasureWeatherTempMin1]
    Measure=String
    String=[@ForecastDay2LowTemperature]
    DynamicVariables=1
    
    [MeasureWeatherIcon1Def]
    Measure=String
    String=[@ForecastDay2DayIcon]
    DynamicVariables=1
    
    [MeasureWeatherIcon1]
    Measure=Calc
    Formula=99000088 + (MeasureWeatherIcon1Def*1000)
    RegExpSubstitute=1
    Substitute="^990":"#@#Images\","088$":"sm.png"
    DynamicVariables=1
    
    [MeasureWeatherDate2]
    Measure=String
    String=[@ForecastDay3DayLong]
    DynamicVariables=1
    
    [MeasureWeatherTemp2]
    Measure=String
    String=[@ForecastDay3HighTemperature]
    DynamicVariables=1
    
    [MeasureWeatherTempMin2]
    Measure=String
    String=[@ForecastDay3LowTemperature]
    DynamicVariables=1
    
    [MeasureWeatherIcon2Def]
    Measure=String
    String=[@ForecastDay3DayIcon]
    DynamicVariables=1
    
    [MeasureWeatherIcon2]
    Measure=Calc
    Formula=99000088 + (MeasureWeatherIcon2Def*1000)
    RegExpSubstitute=1
    Substitute="^990":"#@#Images\","088$":"sm.png"
    DynamicVariables=1
    
    [MeasureWeatherDate3]
    Measure=String
    String=[@ForecastDay4DayLong]
    DynamicVariables=1
    
    [MeasureWeatherTemp3]
    Measure=String
    String=[@ForecastDay4HighTemperature]
    DynamicVariables=1
    
    [MeasureWeatherTempMin3]
    Measure=String
    String=[@ForecastDay4LowTemperature]
    DynamicVariables=1
    
    [MeasureWeatherIcon3Def]
    Measure=String
    String=[@ForecastDay4DayIcon]
    DynamicVariables=1
    
    [MeasureWeatherIcon3]
    Measure=Calc
    Formula=99000088 + (MeasureWeatherIcon3Def*1000)
    RegExpSubstitute=1
    Substitute="^990":"#@#Images\","088$":"sm.png"
    DynamicVariables=1
    
    [@CurrentUVDescription]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=15
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    
    [@CurrentUVIndex]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=16
    MinValue=0
    MaxValue=10
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    
    [@UnitsSpeed]
    Measure=String
    String=#Units#
    RegExpSubstitute=1
    Substitute="^m$":"km/h","^e$":"mph","^h$":"mph"
    
    [@CurrentWindDirectionDegrees]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=19
    MinValue=0
    MaxValue=360
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    
    
    [@CurrentWindDirectionCompass]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=20
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    
    [@CurrentWindGust]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=21
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    
    [@CurrentWindSpeed]
    Measure=WebParser
    URL=[@CurrentConditionsParent]
    StringIndex=22
    RegExpSubstitute=1
    Substitute=#CommonSubstitute#
    ###
    
    ###
    
    [Black]
    Meter=IMAGE
    ImageName=#@#Images\Black.png
    Hidden=1
    
    [Blue]
    Meter=IMAGE
    ImageName=#@#Images\Blue.png
    Hidden=1
    
    [Orange]
    Meter=IMAGE
    ImageName=#@#Images\Orange.png
    Hidden=1
    
    [Orange2]
    Meter=IMAGE
    ImageName=#@#Images\Gray.png
    Hidden=1
    
    [Etoiles]
    Meter=IMAGE
    ImageName=#@#Images\Etoiles.png
    Hidden=1
    
    [Moon]
    Meter=IMAGE
    MeasureName=MeasurePhase
    Hidden=1
    
    [Sun]
    Meter=IMAGE
    ImageName=#@#Images\Sun.png
    Hidden=1
    
    [MeterIcon]
    MeasureName=MeasureIcon
    ;ImagePath=#@#Images\
    Meter=IMAGE
    
    [BlackDeco]
    Meter=IMAGE
    ImageName=#@#Images\BlackDeco#Palmtree#.png
    Hidden=1
    
    [BlueDeco]
    Meter=IMAGE
    ImageName=#@#Images\BlueDeco#Palmtree#.png
    Hidden=1
    
    [OrangeDeco]
    Meter=IMAGE
    ImageName=#@#Images\OrangeDeco#Palmtree#.png
    Hidden=1
    
    [Colonne]
    Meter=IMAGE
    X=89
    Y=108
    H=45
    W=1
    SolidColor=0,0,0,160
    
    [Colonne2]
    Meter=IMAGE
    X=1r
    Y=0r
    H=45
    W=1
    SolidColor=255,255,255,60
    
    [Colonne3]
    Meter=IMAGE
    X=77r
    Y=0r
    H=45
    W=1
    SolidColor=0,0,0,160
    
    [Colonne4]
    Meter=IMAGE
    X=1r
    Y=0r
    H=45
    W=1
    SolidColor=255,255,255,60
    
    [Ligne]
    Meter=IMAGE
    X=14
    Y=47r
    H=1
    W=228
    SolidColor=0,0,0,160
    
    [Ligne2]
    Meter=IMAGE
    X=0r
    Y=1r
    H=1
    W=228
    SolidColor=255,255,255,60
    
    [Title1]
    MeasureName=MeasureLocationFull
    Meter=STRING
    X=241
    Y=85
    H=20
    W=220
    ;FontColor=#TxtColor#
    StringStyle=BOLD
    FontSize=10
    StringAlign=RIGHT
    Clipstring=1
    FontFace=#FontName#
    Antialias=1
    Text=%1
    
    [Title]
    MeasureName=MeasureLocationFull
    Meter=STRING
    X=1r
    Y=-1r
    H=20
    W=220
    FontColor=#TxtColor#
    StringStyle=BOLD
    FontSize=10
    StringAlign=RIGHT
    Clipstring=1
    FontFace=#FontName#
    Antialias=1
    Text=%1
    LeftMouseUpAction=[https://weather.com/weather/today/l/#Latitude#,#Longitude#]
    MouseActionCursor=1
    
    
    [TempShadow]
    MeasureName=MeasureTemp
    Meter=STRING
    X=241
    Y=5
    ;FontColor=#TxtColor#
    StringStyle=normal
    FontSize=25
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    Postfix=°C
    
    [Temp]
    MeasureName=MeasureTemp
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=normal
    FontSize=25
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    Postfix=°C
    
    [Sky]
    MeasureName=MeasureSky
    Meter=STRING
    X=241
    Y=42
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=10
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    
    [Sky2]
    MeasureName=MeasureSky
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=10
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    
    
    [TempMinMaxShadow]
    MeasureName=MeasureTempMin
    MeasureName2=MeasureTempMax
    Meter=STRING
    X=241
    Y=57
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    Text=%1°   -   %2°
    
    [TempMinMax]
    MeasureName=MeasureTempMin
    MeasureName2=MeasureTempMax
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=right
    FontFace=#FontName#
    Antialias=1
    Text=%1°   -   %2°
    
    [Icon1]
    MeasureName=MeasureWeatherIcon1
    ;ImagePath=#@#Images\
    Meter=IMAGE
    X=44
    Y=120
    W=42
    H=34
    
    [TempMin1Shw]
    MeasureName=MeasureWeatherTempMin1
    Meter=STRING
    X=16
    Y=137
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [TempMin1]
    MeasureName=MeasureWeatherTempMin1
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Temp1Shw]
    MeasureName=MeasureWeatherTemp1
    Meter=STRING
    X=16
    Y=121
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    
    [Temp1]
    MeasureName=MeasureWeatherTemp1
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Date1Shw]
    MeasureName=MeasureWeatherDate1
    Meter=STRING
    X=16
    Y=103
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    [Date1]
    MeasureName=MeasureWeatherDate1
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    [Icon2]
    MeasureName=MeasureWeatherIcon2
    ;ImagePath=#@#Images\
    Meter=IMAGE
    X=121
    Y=120
    W=42
    H=34
    
    [TempMin2Shw]
    MeasureName=MeasureWeatherTempMin2
    Meter=STRING
    X=94
    Y=137
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [TempMin2]
    MeasureName=MeasureWeatherTempMin2
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Temp2Shw]
    MeasureName=MeasureWeatherTemp2
    Meter=STRING
    X=94
    Y=121
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Temp2]
    MeasureName=MeasureWeatherTemp2
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Date2Shw]
    MeasureName=MeasureWeatherDate2
    Meter=STRING
    X=94
    Y=103
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    
    [Date2]
    MeasureName=MeasureWeatherDate2
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    [Icon3]
    MeasureName=MeasureWeatherIcon3
    ;ImagePath=#@#Images\
    Meter=IMAGE
    X=198
    Y=120
    W=42
    H=34
    
    [TempMin3Shw]
    MeasureName=MeasureWeatherTempMin3
    Meter=STRING
    X=171
    Y=137
    ;FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [TempMin3]
    MeasureName=MeasureWeatherTempMin3
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Temp3Shw]
    MeasureName=MeasureWeatherTemp3
    Meter=STRING
    X=171
    Y=121
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    
    [Temp3]
    MeasureName=MeasureWeatherTemp3
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    Postfix=°
    
    [Date3Shw]
    MeasureName=MeasureWeatherDate3
    Meter=STRING
    X=171
    Y=103
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    [Date3]
    MeasureName=MeasureWeatherDate3
    Meter=STRING
    X=1r
    Y=-1r
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=9
    StringAlign=left
    FontFace=#FontName#
    Antialias=1
    
    [MeterCurrentWind]
    MeasureName=@CurrentWindSpeed
    MeasureName2=@UnitsSpeed
    MeasureName3=@CurrentWindDirectionCompass
    Meter=String
    X=160
    Y=72
    FontFace=#FontFace#
    FontColor=#FontColor#
    FontSize=8
    StringAlign=left
    StringStyle=bold
    AntiAlias=1
    Text="Wind: %1 %2 %3"
    
    [MeterSunR]
    MeasureName=MeasureSunR
    Meter=STRING
    X=16
    Y=155
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=8
    StringAlign=left
    FontFace=#FontName#
    ;Text=" %1 "
    Antialias=1
    
    [MeterSunS]
    MeasureName=MeasureSunS
    Meter=STRING
    X=241
    Y=155
    FontColor=#TxtColor#
    StringStyle=bold
    FontSize=8
    StringAlign=right
    FontFace=#FontName#
    ;Text=" %1 "
    Antialias=1
    
    [MeterUVIndex]
    MeasureName=@CurrentUVIndex
    MeasureName2=@CurrentUVDescription
    Meter=String
    X=130
    Y=155
    FontFace=#FontFace#
    FontColor=#FontColor#
    FontSize=8
    StringAlign=center
    StringStyle=bold
    AntiAlias=1
    Text=    "UV Index : %1 %2"
    
    [NA]
    Meter=IMAGE
    ImageName=img\NA.png
    Hidden=1
  • In this code besides replacing in a few places the location of files, an extremely important thing I also did is to remove the !Execute bangs and the !Rainmeter.. bang prefixes. Both have been deprecated long time ago and should not be used (however if you are still using them, doesn't create problems, doesn't prevent the skin to well work, but still).
  • Replace the Palmtree variable in the @Resources\WeatherComJSONVariables.inc file with Palmtree=N.
There still are some issues, for instance when you refresh the skin, a few error messages are shown in log. Will have to fix these ones as well, however for first please try out the above code, to see if you get it working. So do you get it?
Sontel123
Posts: 25
Joined: April 22nd, 2022, 7:01 pm

Re: Vista Rainbar 4.6

Post by Sontel123 »

First thanks for your help. :thumbup:

The code is working.

I have put the images file into the @Resources folder.

In the log error messages i see only one error message:

Code: Select all

ImageName: Unable to open: C:\Users\suntel\OneDrive\Documents\Rainmeter\Skins\NewWeather\0.png (NewWeather\NewWeather.ini)
I´m confused, the images file is now in the @Resources folder, but why show me the log the error message this?

Should i put back the images file on old place, not in @Resources folder? Mybe the error disapear. :confused:
Or i must change something in the code?