Process measure


Measure=Process measures the running state of a process.

The measure's value will be:

  • 1 : The specified ProcessName is running.
  • -1 : The specified ProcessName is not running.

Note: Process was previously a plugin measure.

In many existing skins you might see the syntax:

[MeasureParent]
Measure=Plugin
Plugin=Process
or
Plugin=Process.dll
or
Plugin=Plugins\Process.dll

Process still works with those forms, and changing existing skins to the new Measure=Process syntax is entirely optional. However, new skins created going forward should use the correct syntax for accuracy and clarity. Process is a measure, and not a plugin.

[MeasureParent]
Measure=Process

Options

General measure options
All general measure options are valid.
ProcessName
Name of the process (e.g. Firefox.exe).

Example

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,255

[MeasureProcess]
Measure=Process
ProcessName=Notepad.exe
Substitute="-1":"not running","1":"running"

[MeterProcess]
Meter=String
MeasureName=MeasureProcess
X=5
Y=5
W=200
H=20
FontColor=255,255,255,255
Text=Notepad.exe is %1.