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

Help: Rainmeter Application • IfMatch IP Address and Reserved Characters

$
0
0
I have a meter that checks the IP address and supplies a corresponding text string based on it.

NOTE: IP address numbers purposely removed below for forum purposes only

Code:

[mIP]Measure=PluginPlugin=SysInfoSysInfoType=IP_ADDRESSSysInfoData=BestUpdateDivider=5DynamicVariables=1IfMatch=XXX.XXX.X.XXX|YYY.YYY.Y.YYY IfMatchAction=[!SetOption IPMeter Text "HOME"]IfNotMatchAction=[!SetOption IPMeter Text "AWAY!"]IfMatchMode=1
The IfMatchAction does not work correctly with two IP addresses listed, separated by |

As I understand it, the problem may be the reserved character . that may have to be escaped

How can I make this work properly?

Statistics: Posted by cwfrizzell — Today, 12:58 am



Viewing all articles
Browse latest Browse all 62

Trending Articles