Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1572

Help: Rainmeter Skins • Re: Volume Shape Meters.

$
0
0
A rather simple question, but, how do I use shape meter instead of bar in case of 2 plugins - win7audio and nowplaying.
The Static Width and Height and X and Y can be set, but I wanted the Width to change as per the Volume Changes in Media Player/System.
How can achieve this?
It can easily be done, by adding those Shape meters. For instance add the following two meters ([MeterVolume] and [MeterVolumeMP]) right after [MinVolume] and [MinVolumeMP] accordingly:

Code:

[MinVolume]...[MeterVolume]Meter=ShapeX=0rY=10RShape=Rectangle 0,0,([MinVolume:W]*[MeasureVolume:]/[MeasureVolume:MaxValue]),10 | Extend MyModifiers1MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 2 | Stroke Color 46,115,31,255DynamicVariables=1[MinVolumeMP]...[MeterVolumeMP]Meter=ShapeX=0rY=10RShape=Rectangle 0,0,([MinVolumeMP:W]*[MeasureVolumeMP:]/[MeasureVolumeMP:MaxValue]),10 | Extend MyModifiers1MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 2 | Stroke Color 46,115,31,255DynamicVariables=1
Note the details:
The total width of both newly added meters ([MeterVolume] and [MeterVolumeMP]) is the same as the total width of the existing bar meters. Their actual / visible width is controlled by the third parameter of the two Shape options (([MinVolume:W]*[MeasureVolume:]/[MeasureVolume:MaxValue]) and ([MinVolumeMP:W]*[MeasureVolumeMP:]/[MeasureVolumeMP:MaxValue])).
You obviously can adjust the color, size and any other option of both meters as you want / need. If you try out the above meters and have and question related to them, please feel free to come back.
Hope you can get these meters to show what you want. Do you get them?

Statistics: Posted by balala — Today, 4:27 pm



Viewing all articles
Browse latest Browse all 1572

Trending Articles