It is currently April 27th, 2024, 6:12 am

Windows 10 Breaks Skin (Somewhat)

Get help with creating, editing & fixing problems with skins
sgtevmckay

Windows 10 Breaks Skin (Somewhat)

Post by sgtevmckay »

Been using, and tweaking the following code for years:

Code: Select all

;===========================================
;  Rainmeter configuration file
;===========================================

[Rainmeter]
;Author=SGT. E. V. McKay
;originally Inspired by Jiri Mahel's (Mepu) HUD Vision
Update=1000
MouseActionCursor=0
LocalFont="#CURRENTPATH#..\..\Font\Aller_Lt.ttf"
LocalFont2="#CURRENTPATH#..\..\Font\webdings.ttf"
LocalFont3="#CURRENTPATH#..\..\Font\wingding.ttf"

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=Dard Drive Monitor C:
Config=
Description=
Instructions=
Version=1.2
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
fontColor.Text=255, 255, 255, 160
bar.color=255, 255, 255, 50
graph.line1=255, 255, 255, 75
graph.line2=255, 255, 255, 37

FontName="Aller"
FontHeight=9
FontHeight2=7
FontGrafity="webdings"
FontGrafity2="wingdings"
FontGrafityHeight0=8
AntiAlias=1

;=================== Drive Letter Identification =================
;If myou change this; Chang eteh letter only. 
;DO NOT at th ecolon ( : ) !!!

HDDrive=C

;================== Text Substitutions/Translations =============
;--------------------Skin Builder's Notes-----------------------------------
; I have done as many have requested and attempted to make Translation/Substitutions easier.
;I completely understand that this can be a long and sometimes complicated process.
;Also understand that it is also incredibly easy to miss things as well.
;If it appaesr that I have missed something, please let me know, and I will
;Make every attept to add the appropriate correction in the next release.
;---------------------------------------------------------------------------

;As you can see some of the values are proceeded by a semicolon ( ; ) 
;remove the semicolon next to the substitute value in order for the ;substitute to work. 
;
;To create a Translation/Substitution;
;Replace the second description with the proper translation
;Examples;
;Substitution="Text_X":"Translation_X","Text_X":"Translation****",
;or
;Text=Translation
;Relabel as you see fit ;)

Drive=Drive

Total=Total

;==================Character Effects: None, Shadow, Border==============================

;I have instituted the ability for you to selectively, and easily, add or eliminate 
;a "Shadow", "Border", or "None" 
;Below you will find effect=******. 
;Simply change the selected ability to add to the skin after the equals ( = ) sign.
;Make sure that the option you choose is all capatilized/Upper case lettering.
;example: NONE | SHADOW | BORDER

effect=SHADOW

;====================Background Shaded area "shader"====================================

;This is an excellent idea, and we can all thank =AmberShadowDesign from DeviantART :D
;=AmberShadowDesign had an issue that many of us have and that we use wallpaper that is not
;work-able with these skins. =AmberShadowDesign Suggested that I place a background that could be 
;toggled. So if you have a wallpaper that makes these skins hard to read, well just toggle the skin's 
;background. 
;Below defines the width and Height of the background. By default the background is no wider 
;or taller than the skin, but you may manipulate that to your own use below. Simply adjust the Pixel size
;after the equals ( = ) sign below to adjust width and height of background.
;Shader-W is the Width of the background | Shader-H is the height of the background

Shader-W=180
Shader-H=44

;In the following area, you can change the opacity and color of the Shaded background area.

Background.color=0, 0, 0, 160

;===========================================
;  HDD Display
;===========================================


[Mse_DriveAccess]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=LogicalDisk
PerfMonCounter="Disk Bytes/sec"
PerfMonInstance="#HDDrive#:"
IgnoreRemovable=0

[Mse_DriveFree]
Measure=FreeDiskSpace
Drive="#HDDrive#:"
IgnoreRemovable=0

[Mse_DriveUsed]
Measure=FreeDiskSpace
Drive="#HDDrive#:"
InvertMeasure=1
IgnoreRemovable=0

[Mse_DriveSize]
Measure=FreeDiskSpace
Drive="#HDDrive#:"
Total=1
IgnoreRemovable=0

;=============================toggle Background for skin=================================

[Backgraound_Shader]
Hidden=1
Meter=IMAGE
W=#Shader-W#
H=#Shader-H#
SolidColor=#Background.color#

[Shader.txt]
Meter=STRING
X=0
Y=3
StringEffect=#effect#
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontGrafityHeight0#
FontFace=#FontGrafity2#
SolidColor=0,0,0,1
Antialias=1
Text="t"
LeftMouseDownAction=!Execute [!RainmeterShowMeter "Backgraound_Shader"] 
LeftMouseDoubleClickAction=!Execute [!RainmeterHideMeter "Backgraound_Shader"]

;--------------------- Skin UI ----------------------------

[Drive_Label]
Meter=STRING
X=10
Y=2
StringEffect=#effect#
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1
Text="#Drive# #HDDrive#:"

[Drive_Used_Bar_Graph]
Meter=Bar
MeasureName=Mse_DriveUsed
X=5
Y=14r
W=176
H=13
BarColor=#bar.color#
BarOrientation=HORIZONTAL

[Drive_Access_Graph]
Meter=Line
MeasureName=Mse_DriveAccess
X=1
Y=14
H=30
W=180
LineCount=1
LineColor=#graph.line1#
AutoScale=1
AntiAlias=1

[Drive_Access_Graph_2]
Meter=HISTOGRAM
MeasureName=Mse_DriveAccess
X=1
Y=14
H=29
W=180
PrimaryColor=#graph.line2#
AutoScale=1
AntiAlias=1

[Drive_Used_String]
Meter=STRING
MeasureName=Mse_DriveUsed
X=5
Y=0r
StringEffect=#effect#
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1
AutoScale=1
NumOfDecimals=1

[Drive_Free]
Meter=STRING
MeasureName=Mse_DriveFree
X=155
Y=0r
StringEffect=#effect#
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
StringAlign=Right
AntiAlias=1
AutoScale=1
NumOfDecimals=1

[Drive_Access_txt]
Meter=STRING
MeasureName=Mse_DriveAccess
X=5
Y=14r
StringEffect=#effect#
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
AntiAlias=1
AutoScale=1
NumOfDecimals=1

[Drive_Total]
Meter=STRING
MeasureName=Mse_DriveSize
X=155
Y=0r
StringAlign=Right
StringEffect=#effect#
FontColor=#fontColor.Text#
FontSize=#FontHeight#
FontFace=#FontName#
SolidColor=0,0,0,1
StringAlign=Right
AntiAlias=1
AutoScale=1
NumOfDecimals=1
Prefix="#Total#: "

;--------------------------- Open Drive ---------------------------

[Open_Drive_Icon]
Meter=STRING
X=168
Y=30
StringEffect=#effect#
StringStyle=BOLD
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontGrafityHeight0#
FontFace=#FontGrafity2#
SolidColor=0,0,0,1
Antialias=1
Text=">"
LeftMouseUpAction=!execute ["#HDDrive#:/"]
Upgraded to Windows 10, 4 days ago.
Rainmeter was hanging. Skins would only update about once every 3 to 4 minutes.
After careful testing, I have found that it is the HDD Skin/code.
I have used this code, and modified it for years now without an issue.
So something in Windows 10 has changed is my guess, unless there has been a change to Rainmeter that I need to be aware of???

Could folks look over the code and let me know what they think???

Additionally, it appears that Global changes is defunct in windows 10 as well.....I will be taking a closer look into this and report back if I find an anything :/

I set up a switch Skin that when clicked should activate the Background of all skins globally, this is now not happening in Windows 10.....will continue testing