It is currently October 18th, 2024, 2:57 am

Enigma's Rain skin

General topics related to Rainmeter.
Scamp
Posts: 14
Joined: September 12th, 2010, 6:07 am

Enigma's Rain skin

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

Re: Enigma's Rain skin

Post by Scamp »

anyone knows how :D
Scamp
Posts: 14
Joined: September 12th, 2010, 6:07 am

Re: Enigma's Rain skin

Post by Scamp »

help help.
it doesnt show the rain percentage
User avatar
jsmorley
Developer
Posts: 22861
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Enigma's Rain skin

Post by jsmorley »

If someone knows the answer they will post. Do NOT bump this thread again.
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Enigma's Rain skin

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
Image
Scamp
Posts: 14
Joined: September 12th, 2010, 6:07 am

Re: Enigma's Rain skin

Post by Scamp »

no, not yet
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Enigma's Rain skin

Post by dragonmage »

Likely a problem with the RegExp, I'll try to look into it when I get some time.
Bozzy
Posts: 4
Joined: September 14th, 2010, 9:24 am

Re: Enigma's Rain skin

Post by Bozzy »

Try;

Url=http://xhtml.weather.com/xhtml/hbhf/TWXX0008
RegExp="Precip:[\n\s]*([0-9]*.*)%"
Scamp
Posts: 14
Joined: September 12th, 2010, 6:07 am

Re: Enigma's Rain skin

Post by Scamp »

Yea. it works ! Thanks