It is currently April 16th, 2024, 6:06 am

VPN notification

Get help with creating, editing & fixing problems with skins
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

VPN notification

Post by Ivan »

Hi all!

Is it possible tomake skin that will change text on screen depending of if VPN connection is active or not?
for example: i have windows taskbar on left side of my screen, it is vertical, and i want to put verticaly oriented VPN text below it so i can see it even when applications are covering whole screen. I want that text to show green VPN when VPN is on and red VPN when VPN is off. And I would like possibillity to change text and collors preset.

Thank You!
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

here is image of my desktop now, and as i use aero this skin would be below windows taskbar.
You do not have the required permissions to view the files attached to this post.
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

is this even possible or not?
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

is this possible to be done. :rosegift:
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

HEY! I just found my old topic.
I am wondering if this is possible to be done after new updates?

Maybe if I manually set current non-vpn IP and then skin check if IP is changed and register that as VPN on??? or just part of IP address, not all numbers... I do not know enough about IP addresses to be able to get on top of this myself.
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: VPN notification

Post by drakulaboy »

i guess you want this=

[Rainmeter]
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,255

[MeasureNetwork]
Measure=Plugin
Plugin=SysInfo
SysInfoType=LAN_CONNECTIVITY
SysInfoData=1

[OnlineStatus]
Measure=Calc
Formula=(MeasureNetwork<1)+1
IfCondition=OnlineStatus = 1
IfTrueAction=[!SetOption MeterNetwork FontColor 0,255,0,255]
IfCondition2=OnlineStatus = 2
IfTrueAction2=[!SetOption MeterNetwork FontColor 255,0,0,255]

[MeterNetwork]
Meter=String
MeasureName=OnlineStatus
FontSize=30
FontColor=0,255,0,255
StringStyle=Bold
AntiAlias=1
Text=VPN
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

I do not understand this
(MeasureNetwork<1)

I found plugin you used here
http://docs.rainmeter.net/manual/plugins/sysinfo
but I am not sure how it can say that I am on VPN or not because no matter if I am on VPN or not I am on my LAN too in same time.

Still I am not too familiar with IP and LAN/WAN setting so maybe I am just out of course with this.

BTW I tried it and it is always green.
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: VPN notification

Post by drakulaboy »

the SysInfo can verify if you are connected to internet or not
drakulaboy
Posts: 165
Joined: June 29th, 2014, 8:35 pm

Re: VPN notification

Post by drakulaboy »

Image
User avatar
Ivan
Posts: 258
Joined: January 27th, 2012, 6:37 pm
Location: Belgrade, Serbia

Re: VPN notification

Post by Ivan »

I use Cisco AnyConnection for VPN, maybe that is problem.