It is currently December 6th, 2023, 3:24 pm
General topics related to Rainmeter.
-
Scamp
- Posts: 14
- Joined: September 12th, 2010, 6:07 am
Post
by Scamp »
I am using Enigma skins which there is a skin call Rain, It will show the rain percentage according to your weather input.
But I insert the code, it does not show.
Here is my code.
Code: Select all
;------------------------------------------------------------------------------------------------
; ENIGMA RAIN (M)
; Class: Mini
[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Rain-Icon.ini
[Metadata]
Name=Enigma Rain | Mini
Config=Enigma | Taskbar | Rain
Description=Rainmeter. :)
Instructions=Set your Weather Code to show your local rainfall. | Look up Yahoo! Weather codes at (http://weather.yahoo.com).
Version=2.7
Tags=Taskbar | Yahoo! Weather
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Variant=1
[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc
;------------------------------------------------------------------------------------------------
; MEASURES
[MeasureRain]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=TWXX0008&u=c
RegExp="(?siU)Precip:.*align=\"left\">(.*)%"
StringIndex=1
;------------------------------------------------------------------------------------------------
; STYLES
@include2=#SKINSPATH#Enigma\Resources\Styles\StyleTaskbar-Mini.inc
;------------------------------------------------------------------------------------------------
; METERS
[Background]
Meter=Image
MeterStyle=StyleBackground
[Rain]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureRain
Text="%1%"
[Label]
Meter=STRING
MeterStyle=StyleLabel
Text="RAIN"
-
Scamp
- Posts: 14
- Joined: September 12th, 2010, 6:07 am
Post
by Scamp »
anyone knows how

-
Scamp
- Posts: 14
- Joined: September 12th, 2010, 6:07 am
Post
by Scamp »
help help.
it doesnt show the rain percentage
-
jsmorley
- Developer
- Posts: 22593
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Post
by jsmorley »
If someone knows the answer they will post. Do NOT bump this thread again.
-
maminscris
- Posts: 509
- Joined: April 24th, 2009, 3:17 pm
- Location: Bucharest, Romania Lat 44,43° Lon 26,1°
Post
by maminscris »
because in the feed there is no rain percentage
http://weather.yahooapis.com/forecastrss?p=TWXX0008&u=c
have you try the latest version of enigma? and also look around here, or search forums forums for rain.ini
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
-
Scamp
- Posts: 14
- Joined: September 12th, 2010, 6:07 am
Post
by Scamp »
no, not yet
-
dragonmage
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Post
by dragonmage »
Likely a problem with the RegExp, I'll try to look into it when I get some time.
-
Scamp
- Posts: 14
- Joined: September 12th, 2010, 6:07 am
Post
by Scamp »
Yea. it works ! Thanks