my rss reader in rainmeter use lots of repetitive items like "Meter 1-10" and "Measure 1-10" sharing almost same content
is there way how to simplify this huge number of lines?
hello, any progress here? I mean that question is from 2014 and RM have active development.
I using "include" of course, but I prefer most simplified code for good maintenance and 20x Measure01-20 and Meter01-20 (webparsing rss) take over 4/5 of all lines in my skin :)
AnimaliX wrote: ↑July 13th, 2020, 2:22 pm
hello, any progress here? I mean that question is from 2014 and RM have active development.
As jsmorely said, there are still no solutions to this question. Rainmeter is definitely not a "de facto" programming language and this fact makes practically impossible to avoid repeating some sections, if they are needed.
But as far as I can tell, this is not a disadvantage. Rainmeter from start requires to create 10 measures, if 10 information are needed to be get and accordingly 10 meters in most cases, to show them. There is no easy other way to write the Rainmeter code. In some circumstances some lua scripts could help, but I doubt it worth. If you're working with Rainmeter skins, you have to take into account from the beginning the fact that some repetitions on code are needed.
Sorry...
AnimaliX wrote: ↑July 13th, 2020, 2:22 pm
hello, any progress here? I mean that question is from 2014 and RM have active development.
I using "include" of course, but I prefer most simplified code for good maintenance and 20x Measure01-20 and Meter01-20 (webparsing rss) take over 4/5 of all lines in my skin
jsmorley wrote: ↑January 18th, 2014, 5:11 pm
Not really. You are already using MeterStyle, which can eliminate a lot of repetitive meter options, but that is about all you can do to shorten this.
Any plans to introduce MeasureStyle, sooner or later?