Weather SKIN REQUEST

Help with creating, editing & fixing problems with skins
User avatar

Re: Weather SKIN REQUEST

January 31st, 2017, 12:36 pm
vHAPpY
   [52 posts]

is my code correct ?

Code: Select all

[Variables]

MapArea=asph_phil

; available for the Himawari8RealTimePHSatellite.ini variant:

; asph_phil        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720


will it direct to that link and download the images?
User avatar

Re: Weather SKIN REQUEST

January 31st, 2017, 1:38 pm
balala
Rainmeter Sage   [3735 posts]

In your code, the only available variable is MapArea=asph_phil, the other lines being commented out. If you add an @Include=#@#settings\settings.inc option to the [Variables] section of your skin (obviously saving the posted code into the settings.inc file), the skin will be able to use the MapArea variable.
User avatar

Re: Weather SKIN REQUEST

February 1st, 2017, 10:35 am
vHAPpY
   [52 posts]

i guess it's difficult to do so since there's an individual shoreline for each country
User avatar

Re: Weather SKIN REQUEST

February 1st, 2017, 10:48 am
vHAPpY
   [52 posts]

Ive noticed that since there's a settings.inc How will this be changed to the choosen country Link

Code: Select all

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
User avatar

Re: Weather SKIN REQUEST

February 1st, 2017, 1:04 pm
balala
Rainmeter Sage   [3735 posts]

vHAPpY wrote:Ive noticed that since there's a settings.inc How will this be changed to the choosen country Link

To be honest, I have no idea what are you talking about!
I don't know where would you like to use the MapArea variable and why would depend this on the country? As I said, in the posted included file code, the only available variable is MapArea. Please come back with some details.
User avatar

Re: Weather SKIN REQUEST

February 1st, 2017, 2:37 pm
vHAPpY
   [52 posts]

i mean it will not choose that maparea because theres that code

Code: Select all

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720


am i right?
User avatar

Re: Weather SKIN REQUEST

February 3rd, 2017, 7:12 am
vHAPpY
   [52 posts]

:-(
User avatar

Re: Weather SKIN REQUEST

February 3rd, 2017, 8:48 am
fonpaolo
Moderator   [998 posts]

I think you've a lot of confusion regarding #Variables# and separated .inc files for variables storage (and editing).

Every Measure or Meter using one (or more) variables stored in your .inc file, must have a #VariableName# and the corresponding value in the .inc file.

To be clear, something like this in your skin:

Code: Select all

[MeasureWhatever
Measure=Plugin
Plugin=XXX
Url=#MyWebLink#
RegExp=YYY

...and something like this in your .inc file:

Code: Select all

[Variables]
MyWebLink=www.yourweatherlink.com
User avatar

Re: Weather SKIN REQUEST

February 3rd, 2017, 11:21 am
balala
Rainmeter Sage   [3735 posts]

fonpaolo wrote:I think you've a lot of confusion regarding #Variables# and separated .inc files for variables storage (and editing).

Every Measure or Meter using one (or more) variables stored in your .inc file, must have a #VariableName# and the corresponding value in the .inc file.

To be clear, something like this in your skin:

Code: Select all

[MeasureWhatever
Measure=Plugin
Plugin=XXX
Url=#MyWebLink#
RegExp=YYY

...and something like this in your .inc file:

Code: Select all

[Variables]
MyWebLink=www.yourweatherlink.com

And don't forget to include the .inc file into the .ini, through an @Include statement, otherwise the variable defined into the .inc file can't be used:

Code: Select all

[Variables]
@Include=#@#MyVariables.inc
User avatar

Re: Weather SKIN REQUEST

February 6th, 2017, 8:40 am
vHAPpY
   [52 posts]

nevermind rather i cant really follow on you guys. :? :?

Return to “Help: Rainmeter Skins”



Who is online

Users browsing this forum: No registered users and 3 guests