It is currently March 29th, 2024, 5:39 am

Help with my weather skin

Get help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with my weather skin

Post by eclectic-tech »

Mylasthorcrux wrote: January 31st, 2020, 11:42 am...
here you go
That package does not show the same image you posted, but has other issues.

Your text style has "StringAlign=Right", but your meters have X=80. When you use "StringAlign=Right", you have to set the X value of the meters to a value large enough to prevent clipping the text on the left side of the skin.

This is what I initially see:
clima1.png
By changing the style and meter X values from 80 to 180, the skin will show this:
clima2.png
Here is your skin code with those changes.
Climacons Weather.ini

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#


You do not have the required permissions to view the files attached to this post.
Mylasthorcrux
Posts: 11
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

eclectic-tech wrote: January 31st, 2020, 3:54 pm That package does not show the same image you posted, but has other issues.

Your text style has "StringAlign=Right", but your meters have X=80. When you use "StringAlign=Right", you have to set the X value of the meters to a value large enough to prevent clipping the text on the left side of the skin.

This is what I initially see:clima1.png

By changing the style and meter X values from 80 to 180, the skin will show this:clima2.png

Here is your skin code with those changes.
Climacons Weather.ini

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#


It works perfect, can I change it to celcius? :D
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with my weather skin

Post by eclectic-tech »

Mylasthorcrux wrote: January 31st, 2020, 6:34 pm It works perfect, can I change it to celcius? :D
Edit "Clima\@Resources\WeatherComVariables.inc", change Language=en-US, to Language=en-GB , save, and then refresh the skin to have Celsius values.
Mylasthorcrux
Posts: 11
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

Muuuuchas gracias! :D

Image
Mylasthorcrux
Posts: 11
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

Image

Hi guys

good morning, again... I don't know what could have happened :confused:

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#
User avatar
xenium
Posts: 841
Joined: January 4th, 2018, 9:52 pm

Re: Help with my weather skin

Post by xenium »

Mylasthorcrux wrote: June 4th, 2020, 3:04 pm Image

Hi guys

good morning, again... I don't know what could have happened :confused:

Code: Select all

[Rainmeter]
BackgroundMode=1
Update=1000
DynamicWindowSize=1
Author=Guerrriii

[Metadata]
Name=Clima
Information=Clima solamente
Version=1.0

[Variables]
@Include=#@#Variables.inc
@include2=#@#WeatherComVariables.inc
@include3=#@#WeatherComRegExp.inc

[TextStyle]
FontColor=255,255,255,80
; When StringAlign is "Right", the meter X position must be large enough to not cut off the text on the left side.
StringAlign=Right
X=180
StringEffect=Shadow
FontEffectColor=255,255,255,80
AntiAlias=1

@include4=#@#WeatherComCurrent.inc

[mWeatherDesc]
Measure=String
DynamicVariables=1
String=[@CurrentConditions]
DecodeCharacterReference=1

[MeterIcon]
Meter=Image
MeasureName=@CurrentIcon
Path=#@#Images\Icons
X=180
Y=0
W=40
PreserveAspectRatio=1
Antialias=1

[MeterTemp]
Meter=String
MeasureName=@CurrentTemperature
MeasureName2=@CurrentTemperatureSymbol
MeasureName3=@CurrentTemperatureUnit
y=-5
MeterStyle=TextStyle
StringEffect=Shadow
FontFace=Segoe WP
FontSize=25
Text="Today is %1"
;Postfix=#Postfix#
When you have problems try this and see if it works :

https://forum.rainmeter.net/viewtopic.php?f=118&t=35342

Note:
Before you start, don't forget to close Rainmeter!!! (right click on the Rainmeter icon in the taskbar and choose Exit)
GJ51
Posts: 6
Joined: May 4th, 2012, 7:05 pm

Re: Help with my weather skin

Post by GJ51 »

Just tried it

No joy
Mylasthorcrux
Posts: 11
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

xenium wrote: June 4th, 2020, 3:11 pm When you have problems try this and see if it works :

https://forum.rainmeter.net/viewtopic.php?f=118&t=35342

Note:
Before you start, don't forget to close Rainmeter!!! (right click on the Rainmeter icon in the taskbar and choose Exit)
unfortunately it did not work for me
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5384
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Help with my weather skin

Post by eclectic-tech »

Mylasthorcrux wrote: June 4th, 2020, 3:04 pm Image

Hi guys

good morning, again... I don't know what could have happened :confused:
I was able to replace the variables and measures needed to get your skin working again.
I created a new package that will install this as a new skin in folder ClimaV3 in your skins folder; your original code will not be changed.

Changes:
Your orignal Variables.inc is not used. Instead, to adjust your location or to change from Fahrenheit to Celsius, edit '@Resources/WeatherComJSONVariables.inc'. Set LocationCode and language according to the instructions in that file.

Note: I already made the needed changes to show metric Language=en-CA and your LocationCode=ARBA0009 in that file.
climaV3.png
You do not have the required permissions to view the files attached to this post.
Mylasthorcrux
Posts: 11
Joined: January 16th, 2020, 5:16 pm

Re: Help with my weather skin

Post by Mylasthorcrux »

It works perfect

thank you very much for your help :great:

Image