It is currently May 14th, 2024, 11:47 am

Info about the connection or disconnection of network?

Get help with creating, editing & fixing problems with skins
User avatar
wiedzmawiedzma
Posts: 112
Joined: August 18th, 2012, 5:19 pm

Info about the connection or disconnection of network?

Post by wiedzmawiedzma »

The skin I used the following things in order to get the info the connection Wifi

Code: Select all

[MeasureStatus]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=QUALITY
WifiIntfID=0
IfAboveValue=0
IfBelowValue=1
IfAboveAction=!execute [!RainmeterShowMeter MeterStatus.C][!RainmeterShowMeter MeterStatus.CShadow][!RainmeterHideMeter MeterStatus.D][!RainmeterHideMeter MeterStatus.DShadow]
IfBelowAction=!execute [!RainmeterHideMeter MeterStatus.C][!RainmeterHideMeter MeterStatus.CShadow][!RainmeterShowMeter MeterStatus.D][!RainmeterShowMeter MeterStatus.DShadow] 

[MeterStatus.CShadow]
Meter=STRING
MeterStyle=TextStyle2
X=5
Y=30
Prefix="Connected"
AntiAlias=1
Hidden=0

[MeterStatus.C]
Meter=STRING
MeterStyle=TextStyle
X=5
Y=29
Prefix="Connected"
AntiAlias=1
Hidden=0

[MeterStatus.DShadow]
Meter=STRING
MeterStyle=TextStyle2
X=5
Y=30
Prefix="No Connection"
AntiAlias=1
Hidden=0

[MeterStatus.D]
Meter=STRING
MeterStyle=TextStyle
X=5
Y=29
Prefix="No Connection"
AntiAlias=1
Hidden=0
And my question is, Is there a way to get the same effect just to general info related to any computer with a network connection rather than WiFi ?
Last edited by wiedzmawiedzma on August 26th, 2012, 11:47 pm, edited 1 time in total.
User avatar
haibusa2005
Posts: 52
Joined: June 15th, 2011, 7:23 pm
Location: Bulgaria, Varna

Re: Info about the connection or disconnection of network?

Post by haibusa2005 »

Check this thread to see how I solved the problem, fully working code is it the end of the thread

http://rainmeter.net/forum/viewtopic.php?f=5&t=13005
User avatar
wiedzmawiedzma
Posts: 112
Joined: August 18th, 2012, 5:19 pm

Re: Info about the connection or disconnection of network?

Post by wiedzmawiedzma »

Very interesting solution as soon as I begin to load the code in my skin Thanks! :welcome:
User avatar
wiedzmawiedzma
Posts: 112
Joined: August 18th, 2012, 5:19 pm

Re: Info about the connection or disconnection of network?

Post by wiedzmawiedzma »

It works perfectly! :thumbup: Type will not forget you as a co-author of the skin and finish the whole theme! In the meantime, the progress and the first version of PL.

My Gallery on DeviantArt http://wiedzmawiedzma.deviantart.com/
You do not have the required permissions to view the files attached to this post.