It is currently July 4th, 2022, 5:46 am
Plugins and Addons popular with the Community
-
CodeCode
- Posts: 1030
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Post
by CodeCode »
CodeCode wrote: ↑February 3rd, 2022, 2:51 pm
I am attempting to use the
Type=Count with a measure like this:
Code: Select all
[ConfigActive]
Measure=Plugin
Plugin=ConfigActive
Type=Count
DynamicVariables=1
When assigning the measure with a text meter, nothing is being returned.
When I use a section variable
[ConfigActive:] it returns the %1 literally.
Not sure what I am missing?
Haha it's me time:
I got it with this:
[!SetOption MeterOfEternity Text """[ActiveConfig:]"""][!Update]
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
jsmorley
- Developer
- Posts: 22527
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Post
by jsmorley »
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[ConfigActive]
Measure=Plugin
Plugin=ConfigActive
Type=Count
[MeterCount]
Meter=String
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=[ConfigActive:]
DynamicVariables=1
The issue is that no "string" value is set with
Type=Count. Only the "number" value is set.
1.png
You do not have the required permissions to view the files attached to this post.
-
CodeCode
- Posts: 1030
- Joined: September 7th, 2020, 2:24 pm
- Location: QLD, Australia
Post
by CodeCode »
so using this form, is why it works now?
[!SetOption MeterOfEternity Text """[ActiveConfig:]"""][!Update]
ƈǟռ'ȶ ʄɨӼ ɨȶ ɨʄ ɨȶ ǟɨռ'ȶ ɮʀօӄɛ - ʊռʟɛֆֆ ɨȶ ɨֆ ɨռ ƈօɖɛ.
-
jsmorley
- Developer
- Posts: 22527
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Post
by jsmorley »
CodeCode wrote: ↑February 3rd, 2022, 4:32 pm
so using this form, is why it works now?
[!SetOption MeterOfEternity Text """[ActiveConfig:]"""][!Update]
Sure, that will work, as it is specifically using the "number" return value, and not the "string" return value.