Bar meter

Meter=Bar displays a horizontal or vertical bar that fills according to the percentual value of a measure.

Options

General meter options

All general meter options are valid.

General image options

All general image options are valid for BarImage.

MeasureName

Name of the measure to use. The measure used must be able to return percentual values.

BarColor

Color of the bar.

BarImage

Path to an image to use for the bar instead of BarColor.

The image is "revealed" to the percentage defined by the current value of the MeasureName bound to the meter.

Note: The image size cannot be modified with the W or H general meter options, and will be displayed in the original image size. The bar will be constrained to the size of the image.

BarBorder

If BarImage is specified, defines the number of pixels on either side of the image that are always drawn (i.e. top and bottom margins for vertical bars, left and right margins for horizontal bars).

BarOrientation Default: Vertical

Orientation of the bar. Valid values are Horizontal and Vertical.

Flip Default: 0

If set to 1, the direction of the bar is flipped.

Example

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Metadata]
Name=ExampleMeterBar
Author=The Rainmeter Team
Information=Example of the Bar meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0

[MeasureUsedMemory]
Measure=PhysicalMemory

[MeasureUsedDrive]
Measure=FreeDiskSpace
Drive=C:

[MeterMemoryText]
Meter=String
MeasureName=MeasureUsedMemory
FontSize=11
FontColor=255,255,255,255
AutoScale=1
AntiAlias=1
Text=Used RAM: %1

[MeterUsedMemoryBar]
MeasureName=MeasureUsedMemory
Meter=BAR
Y=3R
W=250
H=30
BarColor=185,250,160,255
SolidColor=150,150,150,255
BarOrientation=Horizontal

[MeterDriveText]
Meter=String
MeasureName=MeasureUsedDrive
Y=10R
FontSize=11
FontColor=255,255,255,255
AutoScale=1
AntiAlias=1
Text=Free Drive C: %1

[MeterUsedDriveBar]
MeasureName=MeasureUsedDrive
Meter=Bar
Y=3R
W=250
H=30
BarColor=185,250,160,255
SolidColor=150,150,150,255
BarOrientation=Horizontal

An example skin demontrating a Bar meter.