In fact the code using five string meters instead of one, is not much more complicated or longer. I rewrote a few things to get it working, here are the modifications:Youkai1977 wrote: ↑April 9th, 2021, 9:15 am I have now read through your last postings and what balala wrote at the end I have also almost thought. I will have to use a separate meter per [mRSSItem].
Too bad, I thought when I had discovered a few weeks ago the thing with the InlinePattern my skins in the length to tamp properly to be able to save many meters.
- In the newsfeed.ini file:
- Replaced the [!ShowMeter NewsFeed] bang of the FinishAction option of the [mRSS] measure with [!ShowMeterGroup "FEED"] (also added further String meters beaside [NewsFeed], all having set the Group=FEED option, that's why the FEED group has to be shown, not only the NewsFeed meter - see below).
- Replaced the EndValue=-[NewsFeed:W] option of the [mXPos] measure with EndValue=(100-[NewsFeed:W]-[NewsFeed2:W]-[NewsFeed3:W]-[NewsFeed4:W]-[NewsFeed5:W]).
- Replaced the [NewsFeed] meter with the following one and added the next five meters ([NewsFeed2] - [NewsFeed5]):
Code: Select all
[NewsFeed] Meter=STRING MeterStyle=StNEWS X=[mXPos]r Y=r MeasureName=mRSSItem1 FontColor=#Color1##Alpha1# [NewsFeed2] Meter=STRING MeterStyle=StNEWS X=8R Y=r MeasureName=mRSSItem2 FontColor=#Color2##Alpha1# [NewsFeed3] Meter=STRING MeterStyle=StNEWS X=8R Y=r MeasureName=mRSSItem3 FontColor=#Color1##Alpha1# [NewsFeed4] Meter=STRING MeterStyle=StNEWS X=8R Y=r MeasureName=mRSSItem4 FontColor=#Color2##Alpha1# [NewsFeed5] Meter=STRING MeterStyle=StNEWS X=8R Y=r MeasureName=mRSSItem5 FontColor=#Color1##Alpha1# Text=[\x2022][\x2022][\x2022] %1 [\x2022][\x2022][\x2022]
- In the newsfeeddata.inc file:
All modifications have been done into the [StNEWS] section:- Removed the InlineSetting2 and InlinePattern2 options.
- Replaced the InlineSetting and InlinePattern options with the following ones:
Code: Select all
[StNEWS] ... InlineSetting=Color | #Color5##Alpha1# InlinePattern=• ...
- Replaced the Text option with this: Text=[\x2022][\x2022][\x2022] %1.
- Removed the FontColor option.