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

Help: Rainmeter Skins • Splitting measure string

$
0
0
Hello!

I have now google'd out my eyes already, but I'm still not able to find a solution...

I have a json, which I parsed:

Code:

[MeasureWinning]Measure=WebParserURL=file://#CURRENTPATH#data.jsonRegExp=(?siU)Winnings":"(.*)".*WinningNumbers":"(.*)"[WinningNumbers]Measure=WebParserURL=[MeasureWinning]StringIndex=2
In the WinningNumbers I have 7 numbers which I want to display separately.
This is how the output looks now:

Code:

9, 10, 33, 54, 75, 84, 98
I have already made a template and I want to display the numbers at certain places (without the commas).
I tried substituting and using some regexp too, but I just couldn't get out values, can I get some hint on this one?

At the moment I just output the whole string:

Code:

[WinningNumbersOut]Meter=STRINGString=WinningNumbersFontFace=#FontName#FontColor=#FontColor#FontSize=#FontSize#AntiAlias=1StringAlign=rightX=365Y=35

Statistics: Posted by Cerberus9 — Yesterday, 9:44 pm — Replies 2 — Views 57



Viewing all articles
Browse latest Browse all 871

Trending Articles