It is currently April 16th, 2024, 6:42 am

Asia Weather Map

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Asia Weather Map

Post by jsmorley »

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]
Current=0

[MeasureImage0]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR0
StringIndex=1
Download=1
FinishAction=[!EnableMeasure MeasureImage1][!SetVariable Current "1"][!UpdateMeter *][!Redraw]

[MeasureImage1]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR1
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage2][!SetVariable Current "2"][!UpdateMeter *][!Redraw]

[MeasureImage2]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR2
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage3][!SetVariable Current "3"][!UpdateMeter *][!Redraw]

[MeasureImage3]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR3
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage4][!SetVariable Current "4"][!UpdateMeter *][!Redraw]

[MeasureImage4]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR4
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage5][!SetVariable Current "5"][!UpdateMeter *][!Redraw]

[MeasureImage5]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR5
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage6][!SetVariable Current "6"][!UpdateMeter *][!Redraw]

[MeasureImage6]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR6
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage7][!SetVariable Current "7"][!UpdateMeter *][!Redraw]

[MeasureImage7]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR7
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage8][!SetVariable Current "8"][!UpdateMeter *][!Redraw]

[MeasureImage8]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR8
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage9][!SetVariable Current "9"][!UpdateMeter *][!Redraw]

[MeasureImage9]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR9
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureImage10][!SetVariable Current "10"][!UpdateMeter *][!Redraw]

[MeasureImage10]
Measure=Plugin
Plugin=WebParser
URL=http://tropic.ssec.wisc.edu/real-time/westpac/movies/gmsirbbm/GMSIR10
StringIndex=1
Download=1
Disabled=1
FinishAction=[!EnableMeasure MeasureLoop][!CommandMeasure MeasureLoop "Reset"][!SetOption MeterLoopImage ImageName "GMSIR[*MeasureLoop*]."]

[MeasureLoop]
Measure=Loop
StartValue=0
EndValue=10
LoopCount=0
Disabled=1

[MeterSplines]
Meter=String
InlineSetting=Size | 30
InlineSetting2=Color | 110,110,110,255
X=180
Y=125
StringAlign=CenterCenter
Text=Reticulating#CRLF#Splines#CRLF##Current#
DynamicVariables=1
AntiAlias=1

[MeterShape]
Meter=Shape
Shape=Rectangle 10,10,342,230| StrokeWidth 1 | Stroke Color 110,110,100,255 | Fill Color 47,47,47,255
Shape2=Rectangle 30,30,302,190
Shape3=Combine Shape | XOR Shape2

[MeterLoopImage]
Meter=Image
X=31
Y=31
W=300
PreserveAspectRatio=1
ImagePath=%TEMP%\Rainmeter-Cache\
DynamicVariables=1
GIF.gif
Please note. If you are testing / tweaking this skin, allow all 11 images to finish downloading before you "refresh" the skin. If you refresh over and over before WebParser has a chance to complete its work, you can and will "hang" WebParser and will have to restart Rainmeter to get things working again.
You do not have the required permissions to view the files attached to this post.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

Thank you but i guess the border is too big? dont you think?
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

I want to add a folder inside the skin named
Download where the images will be downloaded not from the rainmeter temp what i just need to do is put this code along with the MeasureImage Download=1
DownloadFile=Images\

and a @Resources folder to whereas myBACK.PNG WHEN ERROR IMAGE DL TOP.PNG

Image

Image

IS FOR THE BORDER what i just need to do is put a

Code: Select all

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

Code: Select all

[MeterTop]
Meter=Image
ImageName="#@#images\webcam\top.png"
X=0
Y=0
UpdateDivider=-1
to fit my desire

Image

Is it possible that the image to be just displayed is that inside the red box?
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

Downloading Images taking too long :(
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Asia Weather Map

Post by jsmorley »

You will want to look at ImageCrop in order to crop the image(s) to fit inside that frame image.

https://docs.rainmeter.net/manual/meters/general-options/image-options/#ImageCrop
User avatar
balala
Rainmeter Sage
Posts: 16141
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Asia Weather Map

Post by balala »

vHAPpY wrote:I want to add a folder inside the skin named
Download where the images will be downloaded not from the rainmeter temp what i just need to do is put this code along with the MeasureImage Download=1
DownloadFile=Images\

and a @Resources folder to whereas myBACK.PNG WHEN ERROR IMAGE DL TOP.PNG
If you add a Download=1 option along with a DownloadFile, the images will be downloaded into a DownloadFile folder, which is created in the current config. There is no possibility to specify an absolute path where to download the images, as well as also is not possible to download them into a different folder than the DownloadFile: https://docs.rainmeter.net/manual/plugins/webparser/#DownloadFile
On the other hand if you add a DownloadFile=Images option to the WebParser measure, the images will be downloaded to the DownloadFile\Images folder, created in your config. If I'm not wrong, you can't download the images into the @Resources folder or one of its subfolders.
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

jsmorley wrote:You will want to look at ImageCrop in order to crop the image(s) to fit inside that frame image.

https://docs.rainmeter.net/manual/meters/general-options/image-options/#ImageCrop

yes please help :? :?
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

balala wrote:If you add a Download=1 option along with a DownloadFile, the images will be downloaded into a DownloadFile folder, which is created in the current config. There is no possibility to specify an absolute path where to download the images, as well as also is not possible to download them into a different folder than the DownloadFile: https://docs.rainmeter.net/manual/plugins/webparser/#DownloadFile
On the other hand if you add a DownloadFile=Images option to the WebParser measure, the images will be downloaded to the DownloadFile\Images folder, created in your config. If I'm not wrong, you can't download the images into the @Resources folder or one of its subfolders.
Roger that Mr. Helpful :D :D :D
User avatar
vHAPpY
Posts: 84
Joined: November 26th, 2016, 2:45 am

Re: Asia Weather Map

Post by vHAPpY »

I cant see the image in Rainmeter temp. is there a way that my downloaded images are being save as .png or .jpg/jpeg
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Asia Weather Map

Post by jsmorley »

vHAPpY wrote:I cant see the image in Rainmeter temp. is there a way that my downloaded images are being save as .png or .jpg/jpeg
The images are stored in:

C:\Users\YourName\AppData\Local\Temp\Rainmeter-Cache

The will be files like GMSIR0, GMSIR1, ... GMSIR10 without any file extension.

Leave them in %TEMP%. There is just no advantage to storing them permanently with the skin folder. If the skin later fails, what is the point of an "old" radar image? That is far, far worse than useless.