Hi, thank you for the help!
I am trying to update colors based on the average of the album beign played. Have this:
[MeasureRepeat]
Measure=Plugin
Plugin=WebNowPlaying
PlayerType=Repeat
DynamicVariables=1
IfCondition=MeasureRepeat = 0
IfTrueAction=[!SetOption MeterRepeat ImageTint "#SpotSand#"] [!SetOption MeterRepeat ImageName "#@#Images\repeat.png"]
IfCondition2=MeasureRepeat = 1
IfTrueAction2=[!SetOption MeterRepeat ImageTint "[CoverColor]"] [!SetOption MeterRepeat ImageName "#@#Images\repeat.png"]
IfCondition3=MeasureRepeat = 2
IfTrueAction3=[!SetOption MeterRepeat ImageTint "[CoverColor]"] [!SetOption MeterRepeat ImageName "#@#Images\repeatOne.png"]
;//---------------------//
[MeterBar]
Meter=Bar
DynamicVariables=1
MeasureName=MeasureProgress
x=r
y=5R
w=250
h=5
BarColor=[CoverColor]
BarOrientation=Horizontal
[MeterRepeat]
Meter=Image
DynamicVariables=1
X=191r
Y=-27R
W=20
H=20
;//---------------------//
[ChameleonFile]
Measure=Plugin
Plugin=Chameleon
DynamicVariables=1
Type=File
Path=#@#images\cover.png
[CoverColor]
Measure=Plugin
Plugin=Chameleon
Parent=ChameleonFile
Color=Average
[MeterBar]: Is working perfectly, everytime album changes, [CoverColor] gets update, and the bar shows in the new color;
[MeasureRepeat]: The image color, only updates after the MeasureRepeat Value is updated (meaning when MeasureRepeat = 0 or 1, and [CoverColor] get's updated, new color dosen't show up), I want it to update when album changes (everytime [CoverColor] changes like it is happening with the bar);
.
What I am doing wrong? Thank you
It is currently April 18th, 2024, 12:29 pm
What am I doing wrong?
-
- Posts: 2
- Joined: August 1st, 2018, 1:27 pm
-
- Rainmeter Sage
- Posts: 16143
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: What am I doing wrong?
Add an IfConditionMode=1 option to the [MeasureRepeat] measure. And eventually in addition, add an OnChangeAction=[!UpdateMeasure "MeasureRepeat"] option to the [CoverColor] measure.Zorba wrote:[MeasureRepeat]: The image color, only updates after the MeasureRepeat Value is updated (meaning when MeasureRepeat = 0 or 1, and [CoverColor] get's updated, new color dosen't show up), I want it to update when album changes (everytime [CoverColor] changes like it is happening with the bar);
-
- Posts: 2
- Joined: August 1st, 2018, 1:27 pm
Re: What am I doing wrong?
Solved, Thank you!balala wrote:Add an IfConditionMode=1 option to the [MeasureRepeat] measure.
-
- Rainmeter Sage
- Posts: 16143
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: What am I doing wrong?
Happy to help.
The only comment I'd add would be to use the Code tags when you're posting codes. This tag can be added through the Code button on the menu of this forum.
The only comment I'd add would be to use the Code tags when you're posting codes. This tag can be added through the Code button on the menu of this forum.