New ADAPTER_TYPE option for SysInfo

Changes made during the Rainmeter 4.0 beta cycle.
User avatar

New ADAPTER_TYPE option for SysInfo

February 17th, 2016, 3:17 pm
jsmorley
Developer   [16029 posts]

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
(314.85 KiB) Downloaded 147 times


1.jpg

Return to “Rainmeter 4.0”



Who is online

Users browsing this forum: No registered users and 1 guest