It is currently December 12th, 2019, 8:16 pm

Gentle color transitions / gradients with random color changes...

Help with creating, editing & fixing problems with skins
User avatar
Youkai1977
Posts: 27
Joined: October 31st, 2018, 4:11 pm
Location: Germany

Re: Gentle color transitions / gradients with random color changes...

Youkai1977 » November 21st, 2019, 9:09 pm

@jsmorley & Pul53dr1v3r:

First of all thank you for your answers, especially for your very detailed jsmorley.
Yes it is not easy with the gentle color change, and it is with colors and combinations in life (and at Rainmeter) such a thing, I had to say already. Above all, I noticed the days that my two monitors are not calibrated in color. What looks great on my main screen (a 42 "TV), looks really awful on my PC monitor (an old Medion, where my Rainmeter Skin runs on it too ... see screenshots two posts above), and vice versa.

In short, actually, I do not like the idea of ​​color change for my placeholder demo meter when the visualizer is off.
Because it should run instead of the Visualizers a kind of demo, as you know from times of the good old stereos, where in the standby of the device always any information, etc. were displayed. And most of the time that was for optical purposes, yes, accompanied by a color change. Well, and I'm trying to simulate something like that now.
However, in order to simplify the things with the colors, I could also imagine (my skin is very dark) to limit me to color changes, which switch between (almost) black and dark to light construction. The whole course as gentle as possible (which is so possible with Rainmeter and the physical property of color).

Therefore, I'm still interested in the thing that "eclectic-tech" has presented to me with the lua-script, which I have not quite understood, but what I've done wrong because it is not yet running for me.
But if one of you has an idea, or how I would have to encode something in my meter to get the color change (black <> blue) that I was considering, I would be very grateful and happy. I myself do as I said there very difficult to understand all these measures, meters, scripts, Lua files, etc. in detail really. Therefore, my skins mostly consist of converted skins / meters of other Rainmeter users. Although I have already learned a lot in the past. But it is not enough for really more complex things. :???: :confused: And then there's the language barrier. Really good help and / or forums in my language ... pfff, I find out rather how much money Bill Gates has on the account. O.O

Ok, written a lot, said little. :oops:
Anyway, if someone still wants to help me there, I would be happy anyway and I am open to any idea about my color change problem
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3643
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Gentle color transitions / gradients with random color changes...

eclectic-tech » November 21st, 2019, 11:02 pm

Youkai1977 wrote:
November 21st, 2019, 9:09 pm
..
Ok, written a lot, said little. :oops:
Anyway, if someone still wants to help me there, I would be happy anyway and I am open to any idea about my color change problem
I will take some time to look into your skin and the possible use of my suggestion. I haven't worked with this script for a while, so give me some time and I'll see if it is any better than what balala already supplied.

I should have kept my nose out of this ;-)
User avatar
jsmorley
Developer
Posts: 19864
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Gentle color transitions / gradients with random color changes...

jsmorley » November 21st, 2019, 11:13 pm

User avatar
jsmorley
Developer
Posts: 19864
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Gentle color transitions / gradients with random color changes...

jsmorley » November 21st, 2019, 11:24 pm

In my view, colors are just far easier to work with in HSB (Hue, Saturation, Brightness) than they are in RGB (Red, Green, Blue), particularly for gradients and transitions. That HSBLib.lua library in the skin I just linked to is a full-featured way to quickly move back and forth between RGB and HSB. Once you are in HSB, you can simply add or subtract from those Hue/Saturation/Brightness components to change the color.

The combination of Hue, Saturation and Brightness can give you all the same millions of colors that Red, Green and Blue can.

The advantage to Hue is that it is one number, a number of degrees on a "color wheel" from 0 to 359. RGB is a mix of the three colors, which in my opinion is much harder to mathematically work with. It's why I'm a failure as an oil painter...

Obviously the color has to be RGB for Rainmeter, so you need to use the library to switch from that to HSB, then do any calculations, then switch back to RGB for use in Rainmeter.

Inline Lua is just excellent for this...
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3643
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Gentle color transitions / gradients with random color changes...

eclectic-tech » November 22nd, 2019, 5:13 am

The examples provided by Jeff are a great option and the library code is an excellent tool.

I am not sure what effect, or how visible you want it, but from looking at your M.A.R.S. skin, they are fairly dark in color, so I coded these examples with subtle dark color changes. The change can be more visible by modifying the "scales" in the BlendColor# measures.

Here are 2 example vizdemo variations using the BlendColor.lua script:
:: One is a subtle, color changing, dark, rotating background, using a Shape meter with a linear gradient as the background
:: The other is the same colors but uses a radial gradient as the background meter

I started with your last posted code from this thread, added 2 calc measures to return 0-99 and 99-0 values, and set Min/Max Values so they can be used by BlendColor.lua measure which requires the measure returns percentages. Those measures drive 2 BlendColor measures which will control the color changes based on the percentage. To change the colors, you would need to modify the "scales" for each RGBA channel in the [BlendColor1Measure] and [BlendColor2Measure] sections.

As I said, I replaced your background IMAGE meter with a SHAPE meter. I did this to utilize the Linear/Radial gradient capabilities of the Shape meter.
I also modified the skin Update, DefaultUpdateDivider, and the [mGraphicDemo] section so the color transition is smooth and your text appears the same as your original.

I can try to answer any questions you might have about these...

LINEAR ROTATING GRADIENT BACKGROUND
vizdemolinear.gif

Code: Select all

[Rainmeter]
Update=100
DefaultUpdateDivider=10
AccurateText=1

[Metadata]
Name=Visualizer Demo (Visualizer Standby)
Author=Youkai1977
Version=V1.0 (W.I.P) <> 19.11.2019
Information=This Meter is a Part of M.A.R.S.-Skin Package
License=Creative Commons BY-NC-SA 3.0

;--------------------------------------------------
;--- VARIABLES & STYLES ---------------------------
;--------------------------------------------------

[Variables]
Images=#@#images\
ImgAlpha=230
RGBColor2=180,20,80,180
RGB=1
;Step=4
FS=15
Text1=M.A.R.S. TERMINAL V2.2
Text2=
Text3=

[Style]
FontColor=#RGBColor2#
FontFace=UBUNTU
StringAlign=LEFT
FontWeight=600
AntiAlias=1

;--------------------------------------------------
;--- MEASURES -------------------------------------
;--------------------------------------------------

;--- MEASURE(S) RANDOM COLORS FOR BG & TEXT -------

[Measure100Up]
Measure=Calc
Formula=(Measure100Up+1)%100
DynamicVariables=1
UpdateDivider=1
MinValue=0
MaxValue=100

[Measure100Dn]
Measure=Calc
Formula=99-Measure100Up
DynamicVariables=1
UpdateDivider=1
MinValue=0
MaxValue=100

[Measure360]
Measure=Loop
StartValue=0
EndValue=359
Increment=1
LoopCount=0
InvertMeasure=0
UpdateDivider=(([&Measure100Up]%6)+1)
DynamicVariables=1

[BlendColor1Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Up
RedScale=0,50,20,40|50,100,40,20
GreenScale=0,100,0,0
BlueScale=0,50,60,100|50,100,100,60
AlphaScale=0,100,230,230
UpdateDivider=1

[BlendColor2Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Dn
RedScale=0,50,40,20|50,100,20,40
GreenScale=0,100,0,0
BlueScale=0,50,100,60|50,100,60,100
AlphaScale=0,100,230,230
UpdateDivider=1

;--- MEASURE(S) DEMO CHANGER ----------------------

[MeasureDEMO_1_2]
Measure=Time
Format=%S
IfBelowValue=30
IfBelowAction=[!EnableMeasure mGraphicDemo][!ShowMeterGroup DEMO_1"][!Redraw]
IfEqualValue=30
IfEqualAction=[!DisableMeasure mGraphicDemo][!HideMeterGroup DEMO_1"][!Redraw]

;--- MEASURE(S) DEMO 1 ----------------------------

[mGraphicDemo]
Measure=CALC
Formula=mGraphicDemo +1 % 10
IfAboveValue=5
IfAboveAction=[!ShowMeter TEXT_1][!Redraw]
IfEqualValue=9
IfEqualAction=[!HideMeter TEXT_1][!Redraw]
UpdateDivider=10
;--------------------------------------------------
;--- BACKGROUND -----------------------------------
;--------------------------------------------------

[Background]
; Meter=IMAGE
; SolidColor=#RGBColor1#
; X=0
; Y=0
; W=564
; H=80
DynamicVariables=1
Meter=Shape
Shape=Rectangle 0,0,564,80 | StrokeWidth 1 | StrokeColor [BlendColor2Measure] | Fill LinearGradient1 MyGrad

MyGrad=[Measure360] [BlendColor1Measure] ; 0.25 | [BlendColor2Measure] ; 0.50 | [BlendColor1Measure] ; 0.75
UpdateDivider=1

;--------------------------------------------------
;--- VISUALIZER DEMO METERS -----------------------
;--------------------------------------------------

;--- DEMO 1 ---------------------------------------

[GraphicDemo]
Meter=BITMAP
MeasureName=mGraphicDemo
BitmapImage=#Images#vis_demo.png
BitmapFrames=10
BitmapExtend=1
AntiAlias=1
X=r
Y=r
UpdateDivider=1
Group=DEMO_1

[TEXT_1]
Meter=STRING
FontSize=#FS#
MeterStyle=Style
FontColor=#RGBColor2#
Text=#Text1#
X=165
Y=28
Hidden=1
DynamicVariables=1
Group=DEMO_1

;---------------------------------------------------
;--- VISUALIZER DEMO FRAME -------------------------
;---------------------------------------------------

[VisualizerFrame]
Meter=IMAGE
ImageName=#Images#visualizer_frame.png
ImageAlpha=#ImgAlpha#
Antialias=1
X=0
Y=0
W=564
H=80
UpdateDivider=-1
RADIAL GRADIENT BACKGROUND
vizdemoradial.gif

Code: Select all

[Rainmeter]
Update=100
DefaultUpdateDivider=10
AccurateText=1

[Metadata]
Name=Visualizer Demo (Visualizer Standby)
Author=Youkai1977
Version=V1.0 (W.I.P) <> 19.11.2019
Information=This Meter is a Part of M.A.R.S.-Skin Package
License=Creative Commons BY-NC-SA 3.0

;--------------------------------------------------
;--- VARIABLES & STYLES ---------------------------
;--------------------------------------------------

[Variables]
Images=#@#images\
ImgAlpha=230
RGBColor2=150,20,80,180
RGB=1
FS=15
Text1=M.A.R.S. TERMINAL V2.2
Text2=
Text3=

[Style]
FontColor=#RGBColor2#
FontFace=UBUNTU
StringAlign=LEFT
FontWeight=600
AntiAlias=1

;--------------------------------------------------
;--- MEASURES -------------------------------------
;--------------------------------------------------

;--- MEASURE(S) RANDOM COLORS FOR BG & TEXT -------

[Measure100Up]
Measure=Calc
Formula=(Measure100Up+1)%100
DynamicVariables=1
UpdateDivider=1
MinValue=0
MaxValue=100

[Measure100Dn]
Measure=Calc
Formula=99-Measure100Up
DynamicVariables=1
UpdateDivider=1
MinValue=0
MaxValue=100

[BlendColor1Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Up
RedScale=0,50,20,40|50,100,40,20
GreenScale=0,100,0,0
BlueScale=0,50,60,100|50,100,100,60
AlphaScale=0,100,230,230
UpdateDivider=1

[BlendColor2Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Dn
RedScale=0,50,40,20|50,100,20,40
GreenScale=0,100,0,0
BlueScale=0,50,100,60|50,100,60,100
AlphaScale=0,100,230,230
UpdateDivider=1

;--- MEASURE(S) DEMO CHANGER ----------------------

[MeasureDEMO_1_2]
Measure=Time
Format=%S
IfBelowValue=30
IfBelowAction=[!EnableMeasure mGraphicDemo][!ShowMeterGroup DEMO_1"][!Redraw]
IfEqualValue=30
IfEqualAction=[!DisableMeasure mGraphicDemo][!HideMeterGroup DEMO_1"][!Redraw]

;--- MEASURE(S) DEMO 1 ----------------------------

[mGraphicDemo]
Measure=CALC
Formula=mGraphicDemo +1 % 10
IfAboveValue=5
IfAboveAction=[!ShowMeter TEXT_1][!Redraw]
IfEqualValue=9
IfEqualAction=[!HideMeter TEXT_1][!Redraw]
UpdateDivider=10
;--------------------------------------------------
;--- BACKGROUND -----------------------------------
;--------------------------------------------------

[Background]
; Meter=IMAGE
; SolidColor=#RGBColor1#
; X=0
; Y=0
; W=564
; H=80
DynamicVariables=1
Meter=Shape
Shape=Rectangle 0,0,564,80 | StrokeWidth 0 | Fill RadialGradient MyGrad

MyGrad=0,0 [BlendColor1Measure] ; 0.25 | [BlendColor2Measure] ; 0.50 | [BlendColor1Measure] ; 0.75
UpdateDivider=1

;--------------------------------------------------
;--- VISUALIZER DEMO METERS -----------------------
;--------------------------------------------------

;--- DEMO 1 ---------------------------------------

[GraphicDemo]
Meter=BITMAP
MeasureName=mGraphicDemo
BitmapImage=#Images#vis_demo.png
BitmapFrames=10
BitmapExtend=1
AntiAlias=1
X=r
Y=r
UpdateDivider=1
Group=DEMO_1

[TEXT_1]
Meter=STRING
FontSize=#FS#
MeterStyle=Style
FontColor=#RGBColor2#
Text=#Text1#
X=165
Y=28
Hidden=1
DynamicVariables=1
Group=DEMO_1

;---------------------------------------------------
;--- VISUALIZER DEMO FRAME -------------------------
;---------------------------------------------------

[VisualizerFrame]
Meter=IMAGE
ImageName=#Images#visualizer_frame.png
ImageAlpha=#ImgAlpha#
Antialias=1
X=0
Y=0
W=564
H=80
UpdateDivider=-1
You do not have the required permissions to view the files attached to this post.
User avatar
Youkai1977
Posts: 27
Joined: October 31st, 2018, 4:11 pm
Location: Germany

Re: Gentle color transitions / gradients with random color changes...

Youkai1977 » November 22nd, 2019, 8:03 am

eclectic-tech wrote:
November 21st, 2019, 11:02 pm
I should have kept my nose out of this ;-)
I know such moments ... :D

@jsmorley & eclectic-tech:
Oh man, I was struck down this morning as I read your detailed and great help on my paint problem. :o So slain, that I now (especially after only 4 hours of sleep last night ... child is sick) now only once the next few days to look at rest and process. Especially with my quite miserable programming skills at Rainmeter .... I have to look first now, what is what, what what does.
But what I can say now on the fast, at least once, that the examples of you "eclectic-tech" look wonderful. I think I will probably decide in the end. It is visually not too intrusive and nice discreetly in the background, so that later, when my demo-meter is done, you can focus on what it shows and not blinded by a wild color change.
But as I said, I have to look at the next few days in peace. Rainmeter is ultimately just a hobby for me, my child and family have a higher priority. Therefore, do not be surprised if it is my color problem now over the weekend, or the next few days a little quiet. I have not forgotten your generous and great help. But I have to mention it as input, let a little sag first.

Thank you again, and first of all a nice weekend :bow:

EDIT:
@eclectic-tech:
I have a big problem with my BITMAP meter now. The animation "vis_demo.png" (10 single images) usually need normaly the following:

Code: Select all

[mGraphicDemo]
Measure = CALC
Formula = Counter% 10
IfAboveValue = 5
IfAboveAction = [! ShowMeter TEXT_1] [! Redraw]
IfBelowValue = 9
IfBelowAction = [! HideMeter TEXT_1] [! Redraw]
UpdateDivider = 1
and ...

Code: Select all

[GraphicDemo]
Meter=BITMAP
MeasureName=mGraphicDemo
BitmapImage=#Images#vis_demo.png
BitmapFrames=10
BitmapExtend=1
AntiAlias=1
X=r
Y=r
UpdateDivider=1
Group=DEMO_1
So with my old file was the update to 500 and the DefaultUpdateDivider accordingly to 2

So, no matter what I am doing now, the process of "vis_demo.png" will NOT work properly if your changed MEASURE or again take my MEASURE. The animation either stops after a run (with your MEASURE) or after my MEASURE it simply blinks. Now I set the UpdateDivider at Measure and Meter for "vis_demo.png" to 5 according to your set timings (Update 100, Default 10), which should correspond to an update of 500 (if I have the whole update rules in Rainmeter understood correctly) does not work well. When I set the UpdateDivider to 1, I start the "vis_demo.png" as if the devil was after her, but runs clean. Just stop too fast. Only if I set the update again to 500 and the DefaultUpdateDivider to 2 in the complete meter is all right. So, why the hell works:

Example:

Code: Select all

Update = 500
DefaultUpdateDivider = 2

[Measure]
UpdateDivider = 1
[Meter]
UpdateDivider = 1
PERFECT!

But with:

Code: Select all

Update = 100
DefaultUpdateDivider = 10

[Measure]
UpdateDivider = 5
[Meter]
UpdateDivider = 5
only snot comes around.

Purely logical is 100x5 = 500 and 500x1 = 500 and 500x2=1000 and 100x10=1000... so what the hell am I not rushing here, or is Rainmeter bent over there?

Ok, sorry if my question may sound ridiculous. But my head is smoking right now. Or do I no longer see the meter in front of 500x2 or 100x10?
Last edited by balala on November 22nd, 2019, 4:37 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are you posting code snippets. It's the </> button.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 3643
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Gentle color transitions / gradients with random color changes...

eclectic-tech » November 22nd, 2019, 4:12 pm

YES, Family comes first!! Rest and get well! :thumbup:

Whenever you have a few minutes, can you describe the sequence you expect to see for the "text" display, that will help in setting the best update rate and default divider for all the skin features.

The combination of update and default divider can produce "head scratching" results, so a description of what you want to see will help.

Hope you (and the family) recover quickly. :rosegift:
User avatar
Youkai1977
Posts: 27
Joined: October 31st, 2018, 4:11 pm
Location: Germany

Re: Gentle color transitions / gradients with random color changes...

Youkai1977 » November 27th, 2019, 6:49 pm

First of all thanks for your understanding and patience. :) :bow:
Well, with all the family stress, I found the time today and worked a little bit on my visualizer demo skin. He is still W.I.P., but with the timing I have so far apparently get a grip. I'll upload the code or the skin including all related files, so you can take a look at some of my remaining timing issues, if you like.

And although I still have the following problem, the text "MARS TERMINAL" should appear only when the middle lines of the BITMAP file are gone. Unfortunately, however, this works only conditionally and thus the font often overlays the bitmap file, somehow / what does not really want there.
Then I'm also looking for a better way, how I can determine the timing, when which demo is hidden and the other one. The way I do it currently, about "Measure = Time, Format =% S" I do not like somehow, or will probably limit me, if I want to install more demos in my skin. So if anyone likes, or has an idea, I'm all ears.

As far as the color change itself is concerned, I'm satisfied with that first, but I'm still considering switching from radial to linear. But that's second-rate. The timings as I said, I have now hopefully far (error-free) get out. The color change should run to 100, the newly built Newsticker on 6 and the bitmap with the text on 500 ... I hope anyway :oops: :Whistle

Well, at the end, the usual translation error is Google guilt, and an answer from my part may possibly (unfortunately) take some time for known reasons
Last edited by balala on November 22nd, 2019, 5:37 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are you posting code snippets. It's the </> button.
Ok, get done :oops: :D

Code: Select all

[Rainmeter]
Update=16
DefaultUpdateDivider=62  ; (~1000ms)
AccurateText=1

[Metadata]
Name=Visualizer Demo (Visualizer Standby)
Author=Youkai1977 (THX to eclectic-tech & jsmorley for the Background Part)
Version=V1.5 (W.I.P) <> 27.11.2019
Information=This Meter is a Part of M.A.R.S.-Skin Package
License=Creative Commons BY-NC-SA 3.0

;--------------------------------------------------
;--- VARIABLES & STYLES ---------------------------
;--------------------------------------------------

[Variables]
Images=#@#images\
ImgAlpha=230
FontColor1=164,164,164,230
FontColor2=150,20,80,180
FS1=12
FS2=15
Text1=M.A.R.S. TERMINAL V2.2
Text2=
Text3=
Direction=-1
MaxMove=2300
StartPos=564
RSSName=Google News
RSSUrl=http://news.google.de/news?ned=de&topic=h&output=rss
vURL=http://news.google.de/
eVIEWER=explorer.exe

[StyleFont]
FontFace=UBUNTU
StringAlign=LEFT
FontWeight=600
AntiAlias=1

[StyleNEWS]
FontColor=#FontColor1#
FontSize=#FS1#

[StyleDEMO_1]
FontColor=#FontColor2#
FontSize=#FS2#

;--------------------------------------------------
;--- MEASURES -------------------------------------
;--------------------------------------------------

;--- MEASURE(S) RANDOM COLORS FOR BG --------------

[Measure100Up]
Measure=Calc
Formula=(Measure100Up+1)%100
DynamicVariables=1
MinValue=0
MaxValue=100
UpdateDivider=6

[Measure100Dn]
Measure=Calc
Formula=99-Measure100Up
DynamicVariables=1
MinValue=0
MaxValue=100
UpdateDivider=6

[BlendColor1Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Up
RedScale=0,50,20,40|50,100,40,20
GreenScale=0,100,0,0
BlueScale=0,50,60,100|50,100,100,60
AlphaScale=0,100,230,230
UpdateDivider=6

[BlendColor2Measure]
Measure=Script
ScriptFile=BlendColor.lua
MeasureToBlend=Measure100Dn
RedScale=0,50,40,20|50,100,20,40
GreenScale=0,100,0,0
BlueScale=0,50,100,60|50,100,60,100
AlphaScale=0,100,230,230
UpdateDivider=6

;--- MEASURE(S) DEMO CHANGER ----------------------

[MeasureDEMO_1_NEWS]
Measure=Time
Format=%S
IfBelowValue=15
IfBelowAction=[!EnableMeasure mGraphicDemo_1][!ShowMeterGroup DEMO_1][!DisableMeasureGroup mNEWS][!HideMeterGroup NEWS][!Update]
IfEqualValue=15
IfEqualAction=[!DisableMeasure mGraphicDemo_1][!HideMeterGroup DEMO_1][!EnableMeasureGroup mNEWS][!ShowMeterGroup NEWS][!Update]
UpdateDivider=6

;--- MEASURE(S) DEMO 1 ----------------------------

[mGraphicDemo_1]
Measure=CALC
Formula=Counter % 10
IfAboveValue=5
IfAboveAction=[!ShowMeter TEXT_1][!Update]
IfEqualValue=9
IfEqualAction=[!HideMeter TEXT_1][!Update]
UpdateDivider=31

;--- MEASURE(S) NEWS ------------------------------

[MeasureRSS]
Measure=Plugin
Plugin=WebParser
URL=#RSSUrl#
RegExp="(?siU)<title.*>(.*)</title>.*<link.*>(.*)</link>.*<item.*<title.*>(.*)</title>.*<link.*>(.*)</link>(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)(?(?=.*<item).*<title.*>(.*)</title>.*<link.*>(.*)</link>)"
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
UpdateRate=20000
StringIndex=1
Debug=1
Disabled=1
Group=mNEWS

[MeasureRSSItem1]
Measure=Plugin
Plugin=WebParser
URL=[MeasureRSS]
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
StringIndex=3
Disabled=1
Group=mNEWS

[MeasureRSSItem2]
Measure=Plugin
Plugin=WebParser
URL=[MeasureRSS]
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
StringIndex=5
Disabled=1
Group=mNEWS

[MeasureRSSItem3]
Measure=Plugin
Plugin=WebParser
URL=[MeasureRSS]
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
StringIndex=7
Disabled=1
Group=mNEWS

[MeasureRSSItem4]
Measure=Plugin
Plugin=WebParser
URL=[MeasureRSS]
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
StringIndex=9
Disabled=1
Group=mNEWS

[MeasureRSSItem5]
Measure=Plugin
Plugin=WebParser
URL=[MeasureRSS]
;Substitute="&apos;":"'","&quot;":"","&Quot;":"","&amp;":"&","&lt;br&gt;":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE&gt;":"","PRE&gt;":"","&lt;":"","&#39;":"'","&#228;":"ä","&#246;":"ö","&#8211;":"–"
StringIndex=11
Disabled=1
Group=mNEWS

;--- MEASURE(S) MARQUEE NEWS (DEMO 2) TEXT --------

[Timer]
Measure=Calc
Formula=(Timer % (#StartPos#+#MaxMove#))#Direction#
Disabled=1
UpdateDivider=1
Group=mNEWS

[XPos]
Measure=Calc
Formula=(Timer+#StartPos#)
Disabled=1
UpdateDivider=1
Group=mNEWS

;--------------------------------------------------
;--- BACKGROUND -----------------------------------
;--------------------------------------------------

[Background]
Meter=SHAPE
Shape=Rectangle 0,0,564,80 | StrokeWidth 0 | Fill RadialGradient MyGrad
MyGrad=0,0 [BlendColor1Measure] ; 0.25 | [BlendColor2Measure] ; 0.50 | [BlendColor1Measure] ; 0.75
DynamicVariables=1
UpdateDivider=6

;--------------------------------------------------
;--- VISUALIZER DEMO METERS -----------------------
;--------------------------------------------------

;--- DEMO 1 ---------------------------------------

[DEMO_1]
Meter=BITMAP
MeasureName=mGraphicDemo_1
BitmapImage=#Images#vis_demo.png
BitmapFrames=10
BitmapExtend=1
AntiAlias=1
X=r
Y=r
UpdateDivider=31
Group=DEMO_1

[TEXT_1]
Meter=STRING
MeterStyle=StyleDEMO_1 | StyleFont
Text=#Text1#
X=165
Y=28
UpdateDivider=-1
Group=DEMO_1

;--- NEWS (DEMO 2) --------------------------------

[BG_Vis_News]
Meter=IMAGE
ImageName=#Images#bg_vis_news.png
ImageAlpha=#ImgAlpha#
AntiAlias=1
X=0
Y=0
W=564
H=80
UpdateDivider=-1
LeftMouseDoubleClickAction=[#vURL##]
Hidden=1
Group=NEWS

[Vis_News]
Meter=STRING
MeterStyle=StyleNEWS | StyleFont
MeasureName=MeasureRSSItem1
MeasureName2=MeasureRSSItem2
MeasureName3=MeasureRSSItem3
MeasureName4=MeasureRSSItem4
MeasureName5=MeasureRSSItem5
X=[XPos]
Y=57
W=0
Text=" ***  %1  ***  %2  ***  %3  ***  %4  ***  %5  *** "
DynamicVariables=1
UpdateDivider=1
Hidden=1
Group=NEWS

;---------------------------------------------------
;--- VISUALIZER DEMO FRAME -------------------------
;---------------------------------------------------

[VisualizerFrame]
Meter=IMAGE
ImageName=#Images#visualizer_frame.png
ImageAlpha=#ImgAlpha#
Antialias=1
X=0
Y=0
W=564
H=80
UpdateDivider=-1
You do not have the required permissions to view the files attached to this post.