It is currently March 28th, 2024, 9:24 am

Problem with SysInfo network measures with "Best"

Report bugs with the Rainmeter application and suggest features.
Post Reply
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm
Contact:

Problem with SysInfo network measures with "Best"

Post by SilverAzide »

Hello,

One of the users of my network skins is experiencing a rather strange error that I cannot duplicate. The following measure...

Code: Select all

[MeasureAdapterName]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_DESCRIPTION
SysInfoData=Best
DynamicVariables=1
...is returning an empty string (or number 0).

This user has FOUR active network adapters. Is it possible that the networking options are having issues when there is more than one active adapter? I could see it returning something random, but not a blank. :17flag Any help or advice is appreciated!

(He is using the latest beta of Rainmeter.)

I boiled everything down to the following simple skin:

Code: Select all

[Rainmeter]
AccurateText=1
DynamicWindowSize=1
Update=1000

; measures

[MeasureAdapterName]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_DESCRIPTION
SysInfoData=Best
DynamicVariables=1

[MeasureAdapterType]
Measure=Plugin
Plugin=SysInfo
SysInfoType=ADAPTER_TYPE
SysInfoData=Best
DynamicVariables=1

; meters

[MeterAdapter]
Meter=String
MeasureName=MeasureAdapterName
MeasureName2=MeasureAdapterType
FontColor=255,255,255,255
FontSize=10
FontWeight=400
SolidColor=0,0,0,255
Padding=4,4,4,4
AntiAlias=1
X=0
Y=0
Text="Adapter Name = %1#CRLF#Adapter Type = %2 ([MeasureAdapterType:])"
DynamicVariables=1
When I run this skin, I get SOMETHING even if I have no adapters active. When he runs this skin, he gets:

Adapter Name = 0
Adapter Type = 0 (0)

In case it matters, I've attached a dump of his adapter info (output from the wmic nic command)
Attachments
net.zip
(3.37 KiB) Downloaded 27 times
Post Reply