I don't know, I can only tell you that this works...
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[mProcessVLC]
Measure=Plugin
Plugin=Process
ProcessName=VLC.exe
IfCondition=mProcessVLC=1
IfTrueAction=[!HideMeterGroup VLC][!UpdateMeterGroup VLC][!Redraw]
IfFalseAction=[!ShowMeterGroup VLC][!UpdateMeterGroup VLC][!Redraw]
[MeterOne]
Meter=String
Group=VLC
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Meter One
[MeterTwo]
Meter=String
Group=VLC
Y=30r
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Meter Two
And this works...
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[myStyle]
Group=VLC
[mProcessVLC]
Measure=Plugin
Plugin=Process
ProcessName=VLC.exe
IfCondition=mProcessVLC=1
IfTrueAction=[!HideMeterGroup VLC][!UpdateMeterGroup VLC][!Redraw]
IfFalseAction=[!ShowMeterGroup VLC][!UpdateMeterGroup VLC][!Redraw]
[MeterOne]
Meter=String
MeterStyle=myStyle
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Meter One
[MeterTwo]
Meter=String
MeterStyle=myStyle
Y=30r
FontSize=11
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
Text=Meter Two
If vlc.exe is running, the meters are hidden, if not, they are shown.
Keep in mind that meters are "hidden" by Rainmeter by setting their W and H (width and height) to zero. So if you hide meter(s), and other meters after are positioned
relative to them with the "R" modifier, those meters will move.