It is currently May 7th, 2024, 7:39 pm

Hello needed help adding SWAP to my customized tray system

Get help with creating, editing & fixing problems with skins
zorroooo00
Posts: 16
Joined: September 9th, 2010, 12:44 am

Hello needed help adding SWAP to my customized tray system

Post by zorroooo00 »

Hello,
I don't have knowledge on developing the skins...just that i found out about customization and customized the things i needed-now it runs topmost on my desktop so that i can monitor Power, CPU, RAM, Wirless, Net In/Out, until I found out that SWAP is something that is better monitored......I tried using my limited knowledge of copy paste in the Enigma Tray systems file which I had modified a bit but then it does not work. I must have missed something. Could any of you help me get it working. Thanks in advance.
regards
Zorroooo

I have attached the file I am currently using and the file in which i tried adding SWAP
You do not have the required permissions to view the files attached to this post.
zorroooo00
Posts: 16
Joined: September 9th, 2010, 12:44 am

Re: Hello needed help adding SWAP to my customized tray syst

Post by zorroooo00 »

The Current file I am using

Code: Select all

;------------------------------------------------------------------------------------------------
; ENIGMA TRAY SYSTEMS

[Rainmeter]

[Metadata]
Name=Tray Systems
Description=This skin shows your CPU, RAM, hard drive and laptop battery usage for the Windows tray.
Tags=Taskbar | System
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

;------------------------------------------------------------------------------------------------
; MEASURES

[MeasureCPU]
Measure=CPU

[MeasureRAM]
Measure=PhysicalMemory

[MeasureSSID]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=SSID
WifiIntfID=0
WifiListStyle=0

[MeasureQuality]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=QUALITY
WifiIntfID=0
WifiListStyle=0

[MeasureNetIn]
Measure=NetIn
MaxValue=#NetworkMaxDownload#

[MeasureNetOut]
Measure=NetOut
MaxValue=#NetworkMaxUpload#

[MeasurePower]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT

;------------------------------------------------------------------------------------------------
; STYLES

[StyleText]
X=0
Y=0
H=15
W=50
FontColor=255, 255, 255, 255
FontFace=Segoe UI
FontSize=8
StringAlign=LEFT
StringStyle=Bold
AntiAlias=1
AutoScale=1
NumOfDecimals=0

[StyleLabel]
X=r
Y=1r
H=15
W=60
FontColor=255, 255, 255, 255
FontFace=Segoe UI
FontSize=8
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
Text="%1 |"

;------------------------------------------------------------------------------------------------
; METERS

[Background]
Meter=IMAGE
SolidColor=10,10,10,100
X=0
Y=0
W=180
H=30

[CPU]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureCPU
X=117

[Label CPU]
Meter=STRING
MeterStyle=StyleLabel
Text="CPU"

[RAM]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureRAM
X=160
Percentual=1
AutoScale=1

[Label RAM]
Meter=STRING
MeterStyle=StyleLabel
Text="RAM"

[WiFi]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureQuality
X=160
Y=15
Percentual=1
AutoScale=1

[SSID]
Meter=STRING
MeterStyle=StyleLabel
MeasureName=MeasureSSID

[In]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureNetIn
X=23

[Label In]
Meter=STRING
MeterStyle=StyleLabel
Text="In |"

[Out]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureNetOut
X=30
Y=15

[Label Out]
Meter=STRING
MeterStyle=StyleLabel
Text="Out |"

[PWR]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasurePower
X=70

[Label PWR]
Meter=STRING
MeterStyle=StyleLabel
Text="PR"




The file i made trying to add SWAP-something is not working- my limited knowledge on it........
;------------------------------------------------------------------------------------------------
; ENIGMA TRAY SYSTEMS
; Class: Tray

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterRefresh #CURRENTCONFIG#

[Metadata]
Name=Enigma Combo: Tray Systems
Config=Enigma | Taskbar | Combos | Tray Systems
Description=This skin shows your CPU, RAM, hard drive and laptop battery usage for the Windows tray.
Version=2.7
Tags=Taskbar | System
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

;------------------------------------------------------------------------------------------------
; MEASURES

[MeasureCPU]
Measure=CPU

[MeasureRAM]
Measure=PhysicalMemory

[MeasureSWAP]
Measure=SWAPMemory

[MeasureSSID]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=SSID
WifiIntfID=0
WifiListStyle=0

[MeasureQuality]
Measure=Plugin
Plugin=Plugins\WifiStatus.dll
WifiInfoType=QUALITY
WifiIntfID=0
WifiListStyle=0


[MeasurePower]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT

;---------------------------------------------------------; STYLES

[StyleText]
X=0
Y=0
H=15
W=50
FontColor=255, 255, 255, 255
FontFace=Segoe UI
FontSize=8
StringAlign=LEFT
StringStyle=Bold
AntiAlias=1
AutoScale=1
NumOfDecimals=0

[StyleLabel]
X=r
Y=1r
H=15
W=60
FontColor=255, 255, 255, 255
FontFace=Segoe UI
FontSize=8
StringAlign=RIGHT
StringStyle=NORMAL
AntiAlias=1
Text="%1 |"
;------------------------------------------------------------------------------------------------
; METERS

[Background]
Meter=IMAGE
SolidColor=0,0,0,100
X=0
Y=0
W=160
H=30

[CPU]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureCPU
X=110

[Label CPU]
Meter=STRING
MeterStyle=StyleLabel
Text="CPU"

[RAM]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureRAM
X=135
Percentual=1
AutoScale=1

[Label RAM]
Meter=STRING
MeterStyle=StyleLabel
Text=

[MeasureSWAP]
Meter=STRING
MeasureName=MeasureSWAP
X=155
AntiAlias=1
Text="%1"
Percentual=1
AutoScale=1

[WiFi]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureQuality
X=65
Percentual=1
AutoScale=1

[SSID]
Meter=STRING
MeterStyle=StyleLabel
MeasureName=MeasureSSID


[PWR]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasurePower
X=15

[Label PWR]
Meter=STRING
MeterStyle=StyleLabel
Text="PR"
Last edited by jsmorley on December 28th, 2010, 3:30 pm, edited 1 time in total.
Reason: Edited to use [code][/code] for skin code posts.