Weather SKIN REQUEST

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

Re: Weather SKIN REQUEST

January 26th, 2017, 1:17 pm
balala
Rainmeter Sage   [4058 posts]

vHAPpY wrote:thank you very very much :D :D :D :D :D

But it helped you?
User avatar

Re: Weather SKIN REQUEST

January 28th, 2017, 7:03 am
vHAPpY
   [83 posts]

yes indeed thanks for that mr. balala btw is it possible to make the imagery up to 20 images? If possible Do i need to add another set of [MeasureImagesURL0] [MeasureDate0] [MeasureImage0] and the [Variables] ?
User avatar

Re: Weather SKIN REQUEST

January 28th, 2017, 7:05 am
vHAPpY
   [83 posts]

ive created a shoreline
top2.png

how to display it when the images loop? not like this please? ive added it into the last part
Untitled.png


Code: Select all

[MeterBottom]
Meter=Image
ImageName="#@#images\webcam\top2.png"
X=0
Y=0
UpdateDivider=-1


help
User avatar

Re: Weather SKIN REQUEST

January 28th, 2017, 5:54 pm
balala
Rainmeter Sage   [4058 posts]

vHAPpY wrote:yes indeed thanks for that mr. balala btw is it possible to make the imagery up to 20 images? If possible Do i need to add another set of [MeasureImagesURL0] [MeasureDate0] [MeasureImage0] and the [Variables] ?

Yeah, it is.
First add further #Item# elements to the RegExp option of the [MeasureImagesURL] measure. Add so many, as you'd need (well, in fact read first the last paragraph below, of this post).
Add further [!CommandMeasure "MeasureImageXX" "Update"] bangs to the FinishAction option of the same measure (obviously with XX going from 10 to 19 - that means 10 other bangs).
Add the following WebParser child measures:

Code: Select all

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

[MeasureImageURL10]
Measure=Plugin
Plugin=WebParser
Url=[MeasureImagesURL]
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]
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]
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]
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]
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]
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]
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]
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]
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]
StringIndex=40
IfMatch=^$
IfMatchAction=[!SetVariable Img19 "0"]
IfNotMatchAction=[!SetVariable Img19 "1"]

and the measures needed to download the images:

Code: Select all

[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

Complete the Formula option of the [MeasureTimer] measure, to take into account the new variables:

Code: Select all

[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

That's it! Obviously if you want to add even more, you can, but take into account that a WebParser measure can't get more than 99 strings. Because in each added #Item# element are two new got variables, you can add up to 49 such variables (and the associated measures), which will get up to 49 images. But I think this would be more then enough. I think...
User avatar

Re: Weather SKIN REQUEST

January 28th, 2017, 7:27 pm
balala
Rainmeter Sage   [4058 posts]

vHAPpY wrote:ive created a shoreline
top2.png
how to display it when the images loop? not like this please? ive added it into the last part
Untitled.png

Code: Select all

[MeterBottom]
Meter=Image
ImageName="#@#images\webcam\top2.png"
X=0
Y=0
UpdateDivider=-1


help

Add the following options to the [MeasureTimer] measure:

Code: Select all

IfCondition=(MeasureTimer=20)
IfTrueAction=[!HideMeter "MeterImages"][!HideMeter "MeterBack"][!ShowMeter "MeterBottom"]
IfFalseAction=[!ShowMeter "MeterImages"][!HideMeter "MeterBack"][!HideMeter "MeterBottom"]

In the IfCondition option you have to use a number equal with the number of downloaded images (change it if you add further images / measures, as I've described above).
Just mention that I'd also add a SolidColor=80,80,80,220 option (or obviously you can choose a color code you like more) as well as a Hidden=1 option, to the [MeterBottom] meter .
User avatar

Re: Weather SKIN REQUEST

January 29th, 2017, 12:05 pm
vHAPpY
   [83 posts]

i thank you again for so much help mr. balala

Do all that you've said it work but i have this problem

test 1.png


that image displayed the newly added images 10-19 displays like that :(
User avatar

Re: Weather SKIN REQUEST

January 29th, 2017, 12:09 pm
vHAPpY
   [83 posts]

the shoreline cant be seen though. I have done what you've said

WHEN I REFRESH
test 3.png

AFTER REFRESH NO SHORELINE :(
test 4.png


Must be liked this if you know what i mean mr. balala : im sorry for being a such a noob
test 2.png


I really want the shoreline to be displayed when the images displayed too

PS: TOO MUCH CLOUDS NEED A SHORELINE :D :D
User avatar

Re: Weather SKIN REQUEST

January 29th, 2017, 12:22 pm
vHAPpY
   [83 posts]

:(
User avatar

Re: Weather SKIN REQUEST

January 29th, 2017, 12:30 pm
fonpaolo
Moderator   [1056 posts]

If you want that shoreline to be visible and in front of your satellite images, you've to position in the code the meter pointing to that image as last, after all the downloaded images, in this way it's displayed on top of them.
User avatar

Re: Weather SKIN REQUEST

January 29th, 2017, 1:12 pm
balala
Rainmeter Sage   [4058 posts]

vHAPpY wrote:that image displayed the newly added images 10-19 displays like that :(

Not sure what you mean by "like that". For me all images are shown in the same way.
vHAPpY wrote:Must be liked this if you know what i mean mr. balala : im sorry for being a such a noob

Initially you've said
vHAPpY wrote:how to display it when the images loop? not like this please? ive added it into the last part

That's why I thought the shoreline should be shown when the loop is "restarting". This is done by the IfCondition, IfTrueAction respectively the IfFalseAction options of the [MeasureTimer] measure.
If you want to simply see it all the time, then the [MeterBottom] meter, as you added to the end of the code, should show the shoreline. Above fonpaolo explained why.
vHAPpY wrote:PS: TOO MUCH CLOUDS NEED A SHORELINE :D :D

On the other hand, if you want to show the shoreline only when the downloaded images have much clouds, that'll be much harder to be done. I don't know how could be measured the amount of clouds, on the downloaded images. Perhaps it can't be, maybe just using data from some weather provider. Then the shoreline should be shown, if some condition is met. However I'd say better that it's too hard.
Anyway, first please confirm that this is what you'd need.

Return to “Help: Rainmeter Skins”



Who is online

Users browsing this forum: No registered users and 3 guests