I see. Just tested it myself and it seems you are, at least partially, correct. It seems they only react correctly to the "global" internet connectivity, and not the "true" LAN one. In that case, maybe investigating the adapter's IP might be the closest you can get to have an idea about the connectivity of a particular adapter, like I explained above. Still not sure if the adapter having an IP assigned to it is a reliable way of getting its connectivity, but at least it's a start.
Apparently not. It seems to work only for the internet connectivity. For LAN connectivity, the value returned seems to be the value of the internet connectivity and not the LAN one:balala wrote: ↑April 3rd, 2019, 7:16 pm And if you add a SysInfoData option to the SysInfo plugin measure, setting the appropriate network interface controller (NIC)? Doesn't help?
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[MeasureNICAdapterDescription]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_DESCRIPTION
SysInfoData=1
RegExpSubstitute=1
Substitute="(?:^\s+|\s+$)":"","(^$|^0$)":"Unavailable"
DynamicVariables=1
[MeasureInternet]
Measure=Plugin
Plugin=SysInfo
SysInfoType=LAN_CONNECTIVITY
SysInfoData=[MeasureNICAdapterDescription]
DynamicVariables=1
[MeterRun]
Meter=String
FontSize=11
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
AntiAlias=1
MeasureName=MeasureNICAdapterDescription
MeasureName2=MeasureInternet
Text="Adapter: %1#CRLF#Connected: %2"
DynamicVariables=1