Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1664

Help: Rainmeter Skins • Re: Read contents from a file

$
0
0
Example...

[SkinFolder]\@Resources\last_number.txt:

Code:

12345.67
[SkinFolder]\Skin.ini:

Code:

[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1[MeasureNumber]Measure=WebParserURL=file://#@#last_number.txtRegExp=(?siU)^(.*)$FinishAction=[!EnableMeasure MeasureCalculated][!UpdateMeasure MeasureCalculated][!UpdateMeter MeterCalculated][!Redraw][MeasureCalculated]Disabled=1Measure=CalcFormula=[MeasureNumber] * 0.000911DynamicVariables=1[MeterCalculated]Meter=StringMeasureName=MeasureCalculatedFontSize=12FontColor=255,255,255,255SolidColor=0,0,0,1NumOfDecimals=5Text=%1 definite outcome
Result:
File reading.jpg
P.S. By the way, the initial error would be harmless if you'd get the desired result, so the initial measure disabling and enabling it afterwards wouldn't be necessarily required. The fact that you do NOT get the desired result indicates that your code has other problems too, so maybe it's better to follow jsmorley's advice and post it.

Statistics: Posted by Yincognito — 21 minutes ago



Viewing all articles
Browse latest Browse all 1664

Trending Articles