It is currently June 25th, 2019, 12:29 am

Display numeric value of measure

Help with creating, editing & fixing problems with skins
mistic100
Posts: 27
Joined: October 12th, 2014, 5:27 pm

Display numeric value of measure

mistic100 » April 6th, 2019, 10:58 am

Hello,

sorry of this question has already been asked, I cannot find the info anywhere

I use the built in Win7AudioPlugin plugin which has both a numeric and a string value.
How to display the numeric value has text ?

Isn't there any option in the String meter to display the numeric value instead of the string value ? Or do we have to "proxy" with a Calc measure ?

Code: Select all

[MeasureVolume]
Measure=Plugin
Plugin=Win7AudioPlugin

[MeterVolumeText]
Meter=String
MeasureName=MeasureVolume
Text="%1 %"
This displays "Realtek %"

Thank you
User avatar
balala
Rainmeter Sage
Posts: 8308
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Display numeric value of measure

balala » April 6th, 2019, 12:05 pm

mistic100 wrote:
April 6th, 2019, 10:58 am
This displays "Realtek %"
Use the Text=[MeasureVolume:] option and add a DynamicVariables=1 option to the [MeterVolumeText] meter.
mistic100
Posts: 27
Joined: October 12th, 2014, 5:27 pm

Re: Display numeric value of measure

mistic100 » April 6th, 2019, 12:08 pm

Perfect, :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 8308
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Display numeric value of measure

balala » April 6th, 2019, 12:12 pm

mistic100 wrote:
April 6th, 2019, 12:08 pm
Perfect, :thumbup:
I'm glad.