Page 1 of 1

New ADAPTER_TYPE option for SysInfo

Posted: February 17th, 2016, 3:17 pm
by jsmorley
We have added a new ADAPTER_TYPE SysInfoType option for the SysInfo plugin.

https://docs.rainmeter.net/manual-beta/plugins/sysinfo/#SysInfoType

This will return both String and Number values.

Possible string values:
Ethernet
Wireless
Other

Number value:
6 (Ethernet)
71 (Wireless / WiFi)
1-280 (Other)

One of those first two is going to be the result for 99.9% of folks on a Windows system. If you get "Other" as the string value, you can check the number value with Text=[MeasureName:] in a string meter, and look up the code at:

https://msdn.microsoft.com/en-us/library/windows/desktop/aa366062(v=vs.85).aspx

Code: Select all

[MeasureAdapterType]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_TYPE
SysInfoData=Best
IfMatch=Wireless
IfMatchAction=[!Log "I'm Wireless"]
IfNotMatchAction=[!Log "I'm Ethernet"]
Here is an example skin:
NetworkV4_1.0.rmskin
1.jpg