It is currently March 28th, 2024, 4:17 pm

Weather SKIN REQUEST

Get help with creating, editing & fixing problems with skins
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy
Contact:

Re: Weather SKIN REQUEST

Post by fonpaolo »

Before you give up, vHAPpY, have you opened with a text editor a skin you downloaded to look inside how it's build, until now?
Often the skins are build using .inc files for settings and also other things.

This is the first (and maybe the only) method to understand how it works.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

i mean

if i add that settings.inc

how will that settings function when there is this code in my mainsettings.ini

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
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy
Contact:

Re: Weather SKIN REQUEST

Post by fonpaolo »

It's very simple.

In your Settings.inc you've to add:

Code: Select all

[Variables]
SatWeb=http://rammb.cira.colostate.edu/ramsdis/online/archive_with_thumbnails.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
In your skin, you've to modify:

Code: Select all

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=#SatWeb#
You can do this for almost everything, from Text Styles to RegExp, from Substitute to any possible variable you can imagine. ;-)
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

now thats helpful :D :jawdrop
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

Guyz need help again. It didnt work :(

My point is like this

How will the SatWeb=???? Choose the MapArea to download those images on those link

Code: Select all

[Variables]
@Include=#@#settings\settings.inc

SatWeb=?????

MapArea=asia_phil

; available for the Himawari8RealTimePHSatellite.ini variant:

; asia_phil        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
; auau_aust        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/australia_true_color&width=1020&height=720
; asia_hawi        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/hawaii_geocolor&width=1020&height=720
; asia_indo        http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/indonesia_true_color&width=1020&height=720
; asia_japn        http://rammb.cira.colostate.edu/ramsdis/online/archive_hi_res.asp?data_folder=himawari-8/japan_ahi_true_color&width=828&height=800
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

Try to create the following variables, into the [Variables] section:

Code: Select all

[Variables]
URL0=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
URL1=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/australia_true_color&width=1020&height=720
URL2=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/hawaii_geocolor&width=1020&height=720
URL3=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/indonesia_true_color&width=1020&height=720
URL4=http://rammb.cira.colostate.edu/ramsdis/online/archive_hi_res.asp?data_folder=himawari-8/japan_ahi_true_color&width=828&height=800
Then you can create a measure, which will return the value of the variable, when you click (see bellow):

Code: Select all

[MeasureN]
Measure=Calc
Formula=(( MeasureN + 1 ) % 5 )
RegExpSubstitute=1
Substitute="^0$":"#URL0#","^1$":"#URL1#","^2$":"#URL2#","^3$":"#URL3#","^4$":"#URL4#"
UpdateDivider=-1
The Substitute option will make the measure to return the appropriate URL, substituting the numeric value of the measure, with the corresponding URL. Also note that the above measure won't be automatically updated, due to its UpdateDivider=-1 option. Now you can add somewhere an option, to update the [MeasureN] measure:

Code: Select all

[SomeMeter]
...
LeftMouseUpAction=[!UpdateMeasure "MeasureN"]
Each time you're clicking the [SomeMeter] meter, the [MeasureN] measure will be updated, returning the appropriate URL. Obviously you can add a such bang to any meter of your code.

Is this what you'd like?
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

thanks for that but i cant understand what you mean mr. balala im really sorry.

i guess ill give our new feature in my skin about choosing each country by Maparea via URL

Thanks to all who help :) I'd rather think new ideas :bow:
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

vHAPpY wrote:thanks for that but i cant understand what you mean mr. balala im really sorry.

i guess ill give our new feature in my skin about choosing each country by Maparea via URL

Thanks to all who help :) I'd rather think new ideas :bow:
Well, I said you could add some proper variables / sections to your code, to have it working with any of the links you've posted. Like the following code:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
Background=#@#images\webcam\back.png

[Metadata]
Name=Himawari8RealTimePHSat
Author=vHAPpY;Thanks to:fonpaolo;FreeRaider;balala; mak_kawa for helping me
Information=Imagery by JMA/MSC: Himawari Real-Time Image via CIRA/RAMMB, NOAA NESDIS and CIRA
License=Creative Commons BY-NC-SA 3.0
Version=1

[Variables]
Item=.*<td>(.*)</td>.*<td><input type="radio" name="starting_image" value=".*"  /></td>.*<td><a href="(.*)" target="_blank" .*</td>.*</tr>
URL0=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/philippines_true_color&width=1020&height=720
URL1=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/australia_true_color&width=1020&height=720
URL2=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/hawaii_geocolor&width=1020&height=720
URL3=http://rammb.cira.colostate.edu/ramsdis/online/archive.asp?data_folder=himawari-8/indonesia_true_color&width=1020&height=720
URL4=http://rammb.cira.colostate.edu/ramsdis/online/archive_hi_res.asp?data_folder=himawari-8/japan_ahi_true_color&width=828&height=800
Loc0=Philippines
Loc1=Australia
Loc2=Hawaii
Loc3=Indonesia
Loc4=Japan
N=0

[MeasureN]
Measure=Calc
Formula=#N#
RegExpSubstitute=1
Substitute="^0$":"#URL0#","^1$":"#URL1#","^2$":"#URL2#","^3$":"#URL3#","^4$":"#URL4#"
DynamicVariables=1
Group=SetN

[MeasureLocN]
Measure=Calc
Formula=#N#
RegExpSubstitute=1
Substitute="^0$":"#Loc0#","^1$":"#Loc1#","^2$":"#Loc2#","^3$":"#Loc3#","^4$":"#Loc4#"
DynamicVariables=1
Group=SetN

[MeasureLocNext]
Measure=Calc
Formula=(( #N# + 1 ) % 5 )
RegExpSubstitute=1
Substitute="^0$":"#Loc0#","^1$":"#Loc1#","^2$":"#Loc2#","^3$":"#Loc3#","^4$":"#Loc4#"
DynamicVariables=1
Group=SetN

[MeasureImagesURL]
Measure=Plugin
Plugin=WebParser
Url=[&MeasureN]
RegExp=(?siU)#Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#
FinishAction=[!EnableMeasureGroup "Images"][!CommandMeasure "MeasureImage0" "Update"][!CommandMeasure "MeasureImage1" "Update"][!CommandMeasure "MeasureImage2" "Update"][!CommandMeasure "MeasureImage3" "Update"][!CommandMeasure "MeasureImage4" "Update"][!CommandMeasure "MeasureImage5" "Update"][!CommandMeasure "MeasureImage6" "Update"][!CommandMeasure "MeasureImage7" "Update"][!CommandMeasure "MeasureImage8" "Update"][!CommandMeasure "MeasureImage9" "Update"][!CommandMeasure "MeasureImage10" "Update"][!CommandMeasure "MeasureImage11" "Update"][!CommandMeasure "MeasureImage12" "Update"][!CommandMeasure "MeasureImage13" "Update"][!CommandMeasure "MeasureImage14" "Update"][!CommandMeasure "MeasureImage15" "Update"][!CommandMeasure "MeasureImage16" "Update"][!CommandMeasure "MeasureImage17" "Update"][!CommandMeasure "MeasureImage18" "Update"][!CommandMeasure "MeasureImage19" "Update"][!EnableMeasure "MeasureTimer"][!ShowMeterGroup "ImgDat"][!SetOption MaterLocation LeftMouseUpAction """[!SetVariable N "((#N#+1)%5)"][!UpdateMeasureGroup "SetN"][!CommandMeasure "MeasureImagesURL" "Update"][!SetOption MaterLocation LeftMouseUpAction ""]"""][!UpdateMeter "MeterImages"][!Redraw]
DynamicVariables=1

[MeasureDate0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=1

[MeasureImageURL0]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
;RegExpSubstitute=1
;Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=2
IfMatch=^$
IfMatchAction=[!SetVariable Img0 "0"]
IfNotMatchAction=[!SetVariable Img0 "1"]

[MeasureDate1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=3

[MeasureImageURL1]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=4
IfMatch=^$
IfMatchAction=[!SetVariable Img1 "0"]
IfNotMatchAction=[!SetVariable Img1 "1"]

[MeasureDate2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=5

[MeasureImageURL2]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=6
IfMatch=^$
IfMatchAction=[!SetVariable Img2 "0"]
IfNotMatchAction=[!SetVariable Img2 "1"]

[MeasureDate3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=7

[MeasureImageURL3]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=8
IfMatch=^$
IfMatchAction=[!SetVariable Img3 "0"]
IfNotMatchAction=[!SetVariable Img3 "1"]

[MeasureDate4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=9

[MeasureImageURL4]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=10
IfMatch=^$
IfMatchAction=[!SetVariable Img4 "0"]
IfNotMatchAction=[!SetVariable Img4 "1"]

[MeasureDate5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=11

[MeasureImageURL5]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=12
IfMatch=^$
IfMatchAction=[!SetVariable Img5 "0"]
IfNotMatchAction=[!SetVariable Img5 "1"]

[MeasureDate6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=13

[MeasureImageURL6]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=14
IfMatch=^$
IfMatchAction=[!SetVariable Img6 "0"]
IfNotMatchAction=[!SetVariable Img6 "1"]

[MeasureDate7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=15

[MeasureImageURL7]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=16
IfMatch=^$
IfMatchAction=[!SetVariable Img7 "0"]
IfNotMatchAction=[!SetVariable Img7 "1"]

[MeasureDate8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=17

[MeasureImageURL8]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=18
IfMatch=^$
IfMatchAction=[!SetVariable Img8 "0"]
IfNotMatchAction=[!SetVariable Img8 "1"]

[MeasureDate9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=19

[MeasureImageURL9]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
; RegExpSubstitute=1
; Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=20
IfMatch=^$
IfMatchAction=[!SetVariable Img9 "0"]
IfNotMatchAction=[!SetVariable Img9 "1"]

[MeasureDate10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=21

[MeasureImageURL10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=22
IfMatch=^$
IfMatchAction=[!SetVariable Img10 "0"]
IfNotMatchAction=[!SetVariable Img10 "1"]

[MeasureDate11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=23

[MeasureImageURL11]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=24
IfMatch=^$
IfMatchAction=[!SetVariable Img11 "0"]
IfNotMatchAction=[!SetVariable Img11 "1"]

[MeasureDate12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=25

[MeasureImageURL12]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=26
IfMatch=^$
IfMatchAction=[!SetVariable Img12 "0"]
IfNotMatchAction=[!SetVariable Img12 "1"]

[MeasureDate13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=27

[MeasureImageURL13]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=28
IfMatch=^$
IfMatchAction=[!SetVariable Img13 "0"]
IfNotMatchAction=[!SetVariable Img13 "1"]

[MeasureDate14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=29

[MeasureImageURL14]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=30
IfMatch=^$
IfMatchAction=[!SetVariable Img14 "0"]
IfNotMatchAction=[!SetVariable Img14 "1"]

[MeasureDate15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=31

[MeasureImageURL15]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=32
IfMatch=^$
IfMatchAction=[!SetVariable Img15 "0"]
IfNotMatchAction=[!SetVariable Img15 "1"]

[MeasureDate16]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=33

[MeasureImageURL16]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=34
IfMatch=^$
IfMatchAction=[!SetVariable Img16 "0"]
IfNotMatchAction=[!SetVariable Img16 "1"]

[MeasureDate17]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=35

[MeasureImageURL17]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=36
IfMatch=^$
IfMatchAction=[!SetVariable Img17 "0"]
IfNotMatchAction=[!SetVariable Img17 "1"]

[MeasureDate18]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=37

[MeasureImageURL18]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=38
IfMatch=^$
IfMatchAction=[!SetVariable Img18 "0"]
IfNotMatchAction=[!SetVariable Img18 "1"]

[MeasureDate19]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
StringIndex=39

[MeasureImageURL19]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
RegExpSubstitute=1
Substitute="images/himawari-8(.*)":"images/thumb/himawari-8\1"
StringIndex=40
IfMatch=^$
IfMatchAction=[!SetVariable Img19 "0"]
IfNotMatchAction=[!SetVariable Img19 "1"]

[MeasureImage0]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL0]
Download=1
DownloadFile=Images\Img0.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage1]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL1]
Download=1
DownloadFile=Images\Img1.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage2]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL2]
Download=1
DownloadFile=Images\Img2.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage3]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL3]
Download=1
DownloadFile=Images\Img3.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage4]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL4]
Download=1
DownloadFile=Images\Img4.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage5]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL5]
Download=1
DownloadFile=Images\Img5.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage6]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL6]
Download=1
DownloadFile=Images\Img6.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage7]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL7]
Download=1
DownloadFile=Images\Img7.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage8]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL8]
Download=1
DownloadFile=Images\Img8.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL9]
Download=1
DownloadFile=Images\Img9.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage10]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL10]
Download=1
DownloadFile=Images\Img10.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage11]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL11]
Download=1
DownloadFile=Images\Img11.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage12]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL12]
Download=1
DownloadFile=Images\Img12.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage13]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL13]
Download=1
DownloadFile=Images\Img13.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage14]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL14]
Download=1
DownloadFile=Images\Img14.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage15]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL15]
Download=1
DownloadFile=Images\Img15.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage16]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL16]
Download=1
DownloadFile=Images\Img16.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage17]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL17]
Download=1
DownloadFile=Images\Img17.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage18]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL18]
Download=1
DownloadFile=Images\Img18.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureImage19]
Measure=Plugin
Plugin=WebParser
Url=http://rammb.cira.colostate.edu/ramsdis/online/[&MeasureImageURL19]
Download=1
DownloadFile=Images\Img19.jpg
UpdateRate=-1
Disabled=1
DynamicVariables=1
Group=Images

[MeasureTimer]
Measure=Calc
Formula=(( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# + #Img10# + #Img11# + #Img12# + #Img13# + #Img14# + #Img15# + #Img16# + #Img17# + #Img18# + #Img19# ) - ( COUNT % ( #Img0# + #Img1# + #Img2# + #Img3# + #Img4# + #Img5# + #Img6# + #Img7# + #Img8# + #Img9# + #Img10# + #Img11# + #Img12# + #Img13# + #Img14# + #Img15# + #Img16# + #Img17# + #Img18# + #Img19# )) - 1 )
DynamicVariables=1
Disabled=1

[MeterImages]
Meter=Image
MeasureName=MeasureImage[MeasureTimer]
X=0
Y=0
W=200
PreserveAspectRatio=2
Hidden=1
DynamicVariables=1
Group=ImgDat

[MaterLocation]
Meter=STRING
MeasureName=MeasureLocN
X=([MeterImages:W]/2)
Y=-22R
Padding=15,2,15,2
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTERBOTTOM
AntiAlias=1
Text=%1
DynamicVariables=1
Hidden=1
Group=ImgDat
ToolTipText=Switch to [MeasureLocNext]

[MaterDates]
Meter=STRING
MeasureName=MeasureDate[MeasureTimer]
X=([MeterImages:W]/2)
Y=0R
Padding=15,2,15,2
FontColor=220,220,220
SolidColor=0,0,0,150
FontSize=8
FontFace=Segoe UI
StringStyle=BOLD
StringAlign=CENTERBOTTOM
AntiAlias=1
Text=%1
DynamicVariables=1
Hidden=1
Group=ImgDat

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1
I introduced here the Loc0 - Loc4, the URL0 - URL4, the N variables as same as the [MeasureN], [MeasureLocN] and [MeasureLocNext] measures. Plus I've also modified a bit the [MeasureImagesURL] measure.
Now you have on your skin the location (Philippines, Australia Philippines, Hawaii, Indonesia or Japan). If you click the location, the skin will switch to the next location (in the listed order), downloading the appropriate images. Note that I removed the [MeterBottom] meter, because that image can be used just when the images of Philippines are shown (if I'm not wrong), for the other countries new "borders" should be created.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Weather SKIN REQUEST

Post by vHAPpY »

THAT'S IT ! VIOLA :D :D
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Weather SKIN REQUEST

Post by balala »

Does it work?
Post Reply