It is currently October 19th, 2018, 12:29 pm

Weather SKIN REQUEST

Help with creating, editing & fixing problems with skins
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » January 31st, 2017, 12:36 pm

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
balala
Rainmeter Sage
Posts: 6833
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

balala » January 31st, 2017, 1:38 pm

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
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » February 1st, 2017, 10:35 am

i guess it's difficult to do so since there's an individual shoreline for each country
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » February 1st, 2017, 10:48 am

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
balala
Rainmeter Sage
Posts: 6833
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

balala » February 1st, 2017, 1:04 pm

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
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » February 1st, 2017, 2:37 pm

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
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » February 3rd, 2017, 7:12 am

:-(
User avatar
fonpaolo
Moderator
Posts: 1351
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Weather SKIN REQUEST

fonpaolo » February 3rd, 2017, 8:48 am

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
balala
Rainmeter Sage
Posts: 6833
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

balala » February 3rd, 2017, 11:21 am

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
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

vHAPpY » February 6th, 2017, 8:40 am

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