I just want to see the ping. What am I doing wrong? here's the code
Code: Select all
[Rainmeter]
Update=30
DynamicWindowSize=1
AccurateText=1
[Variables]
PathToPaPing=#@#Addons\PaPing.exe
Server=52.29.246.214
Port=11001
PortDesc=HTTP
HowOften=60
[MeasureUpdater]
Measure=Calc
Formula=(MeasureUpdater % #HowOften#) + 1
IfEqualValue=1
IfEqualAction=[!CommandMeasure MeasurePaPing1 "Run"]
[MeasurePaPing1]
Measure=Plugin
Plugin=RunCommand
Parameter=#PathToPaPing# -p #port# #server# -c 1 | Find "protocol"
OutputType=ANSI
FinishAction=[!EnableMeasure MeasureCheck1][!UpdateMeasure MeasureCheck1]
[MeasureCheck1]
IfMatchAction=[!SetOption MeterPaPing1 Text "#-p#][!SetOption MeterPaPing1 FontColor "255,255,255,255"][!UpdateMeter *][!Redraw]
[MeterPaPing1]
Meter=String
MeasureName=MeasurePaPing1
FontSize=10
FontColor=255,255,255,255
SolidColor=47,47,47,100
Padding=5,5,5,5
AntiAlias=1
Text=%1
Or if there is anything better than paping tell me