It is currently April 19th, 2024, 11:56 am
Get help with creating, editing & fixing problems with skins
hpgbproductions
Posts: 10 Joined: June 12th, 2018, 7:18 am
Post
by hpgbproductions » June 12th, 2018, 7:31 am
Somehow I got a status2 value of 9 with PowerPlugin. How does this happen? I'm guessing that it added the states of 1 (high) and 8 (charging).
Additionally, I tried to use Substitute to change this to text but it doesn't seem to work. Anything wrong with this part?
Code: Select all
[Status2Measure]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Status2
UpdateDivider=16
Substitute="255":"UNKNOWN","128":"No Battery Detected","12":"Charging","10":Charging","9":"Charging","8":"Charging","4":"CRITICALLY LOW","2":"Low","1":"High","0":"Medium"
eclectic-tech
Rainmeter Sage
Posts: 5391 Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Post
by eclectic-tech » June 12th, 2018, 10:48 am
You missed a quotation mark in the substitution line for the number 9:
Substitute="255":"UNKNOWN","128":"No Battery Detected","12":"Charging","10":[color=#FF0000]"[/color]Charging","9":"Charging","8":"Charging","4":"CRITICALLY LOW","2":"Low","1":"High","0":"Medium"
It happens to all of us!