help with color changing line battery status code
Posted: November 18th, 2017, 3:08 pm
Hi, I am not able to set the color of the line battery status skin... The requirements are:
. if battery is in charging state > line color will be Blue
. if battery is fully charged > line color white
. if battery is greater than 30 and not charging then line color is green
. if battery less than 30 and not charging then line color red
---------------------------------------------------------------------------------
currently it just shows battery level and do not change color.
the code is :
please help.... ugently required... i tried but didn't succeed..
. if battery is in charging state > line color will be Blue
. if battery is fully charged > line color white
. if battery is greater than 30 and not charging then line color is green
. if battery less than 30 and not charging then line color red
---------------------------------------------------------------------------------
currently it just shows battery level and do not change color.
the code is :
Code: Select all
[Rainmeter]
Author=firoj
AppVersion=1.0
Update=1000
[Metadata]
Name=
Author=
Information=
License=
Version=
;===========================================
; Line Battery
;===========================================
[Variables]
BarColor=0, 255, 64, 80
BarBack=2, 136, 174, 15
FontName=Calibri
FontColor=255, 255, 255, 200
FontHeight=14
AntiAlias=1
;-------------------------
[MeasurePower]
Measure=Plugin
PlugIn=PlugIns\PowerPlugin.dll
PowerState=PERCENT
UpdateDivider=10
;-------------------------
[MeterBar]
MeasureName=MeasurePower
Meter=BAR
X=0
Y=0
W=5
H=600
BarOrientation=VERTICAL
BarColor=#BarColor#
;-------------------------
[BarLine]
Meter=IMAGE
X=0
Y=0
W=5
H=600
SolidColor=#BarBack#
please help.... ugently required... i tried but didn't succeed..