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

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 — Today, 11:52 am



Viewing all articles
Browse latest Browse all 725

Trending Articles