It is currently April 25th, 2024, 12:21 am

Always visible

Get help with creating, editing & fixing problems with skins
Owin
Posts: 2
Joined: July 15th, 2019, 8:33 pm

Always visible

Post by Owin »

Hello, I would like to know how to make my "Skin" look always. Since since I updated my W10 to the latest version this does not happen.
This only happens in games with "full screen".
Here I leave how I have configured my "Skin Ping".

Code: Select all

[Rainmeter]
Logging=0
SkinPath=C:\Users\Owin\Documents\Rainmeter\Skins\
DisableDragging=1
TrayIcon=0
ConfigEditor=C:\WINDOWS\system32\NOTEPAD.EXE

[illustro\Ping]
Active=1
WindowX=1700
WindowY=1050
ClickThrough=0
Draggable=0
SnapEdges=1
KeepOnScreen=1
AlwaysOnTop=2

Code: Select all

[Rainmeter]
Update=0.1
BackgroundMode=2
SolidColor=0,0,0,0,0

[MeasurePing]
Measure=Plugin
Plugin=PingPlugin
DestAddress=54.94.191.252	

[MeterPing]
Meter=String
MeasureName=MeasurePing
X=0
Y=0
W=45
H=20
FontColor=255,255,255,255
Text=%1ms
Here I leave as it is that it is seen on the desk and should be seen inside the games as well.
Since I use it to control the "X" server ping.


Image

I'm sorry for my bad English.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Always visible

Post by eclectic-tech »

You can set the skin position to "Stay TopMost". This will try to keep the skin above all windows, but Windows DWM has the final say as to what is topmost and visible. One way to do this is to add an OnRefreshAction to the [Rainmeter] section.

OnRefreshAction=[!ZPos +2]

Arranging Skins Reference

I might suggest setting the skin update rate closer to the default 1000 ms, and adding a background to contrast the text color when the skin is over lighter areas.

Here is a modified copy of your ping skin that should stay topmost and display even on lighter backgrounds.

Code: Select all

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,100
OnRefreshAction=[!ZPos +2]

[MeasurePing]
Measure=Plugin
Plugin=PingPlugin
DestAddress=54.94.191.252	

[MeterPing]
Meter=String
MeasureName=MeasurePing
X=0
Y=0
W=45
H=20
FontColor=255,255,255,255
Text=%1ms
Padding=0,4,0,0
Owin
Posts: 2
Joined: July 15th, 2019, 8:33 pm

Re: Always visible

Post by Owin »

Thanks for the help.
But I see that it is a Windows problem with the new update. Since I passed it to a friend and everything is fine.

I'll see what I do.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Always visible

Post by eclectic-tech »

Yes, Windows will always "Win" when trying to control desktop positioning in Rainmeter. :welcome:
User avatar
balala
Rainmeter Sage
Posts: 16168
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Always visible

Post by balala »

Since eclectic-tech practically has solved the issue (as much as it is possible at least), I'd add just small details. These have also been fixed by him, but they was not explained and seeing them, I had to intervine.
  • The SolidColor=0,0,0,0,0 color code used into the [Rainmeter] section is wrong. There are two small errors:
    • A color code consist from three or four numbers, never five: Red,Green,Blue,Alpha. The last one is optional, it can be missing.
    • If there are four numbers, doesn't worth to have the last number as 0, because this makes the color completely transparent and in a such case it isn't detected (for example a MouseOverAction option isn't executed if it is added to a meter with a transparent color).
  • Update ([Rainmeter] section) is always an integer value and it is never smaller than 16. I suppose you wanted there to use Update=1000 (which eclectic-tech has used in his code).
Sorry eclectic-tech, I hope you don't mind I added these.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Always visible

Post by eclectic-tech »

Yes, I corrected those but did not comment, so thanks. :thumbup: