thanks drac, as usual your advice is excellent!
snowcone, plugins are implemented in rainmeter as part of the skin script using a DLL and statements in the ini file. it’s not very user friendly and requires that you have an example to start with. I did a bat meter once, let me try and find the code and post here. I was using it but ever since I got this samsung external monitor and changed my resolution, that skin no longer works! o h well…
here is the skin definition, note the powermeter stuff at the end, i think that’s what u want. u have to have all the DLLs in a plugin directory under raimeter root. good luck!
;
; Rainmeter configuration file
;
[Rainmeter]
BackgroundMode=1
;
; Define all measures first. The measures are used to measure things.
; Normally you create just one measure per thing that is measured even
; if you use different meters to shoe the results.
;
[MeasureUserName]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=USER_NAME
[MeasureHostName]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=HOST_NAME
[MeasureOS]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=OS_VERSION
[MeasureIP]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=IP_ADDRESS
SysInfoData=2
[MeasureGateway]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=GATEWAY_ADDRESS
SysInfoData=2
[MeasureDNS]
Measure=Plugin
Plugin=Plugins\SysInfo.dll
SysInfoType=DNS_SERVER
SysInfoData=0
[MeasureCPU]
Measure=CPU
[MeasureMem]
Measure=PhysicalMemory
[MeasureSwap]
Measure=SwapMemory
[MeasureProcesses]
Measure=Plugin
Plugin=plugins\PerfMon.dll
PerfMonObject=“System”
PerfMonCounter=“Processes”
PerfMonInstance=”“
PerfMonDifference=0
[MeasurePerfMonDiskRead]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=PhysicalDisk
PerfMonCounter=“Disk Read Bytes/sec”
PerfMonInstance=_Total
[MeasurePerfMonDiskWrite]
Measure=Plugin
Plugin=Plugins\PerfMon.dll
PerfMonObject=PhysicalDisk
PerfMonCounter=“Disk Write Bytes/sec”
PerfMonInstance=_Total
[MeasureNetIn]
Measure=NetIn
[MeasureNetOut]
Measure=NetOut
[MeasureNetInAll]
Measure=NetIn
Cumulative=1
[MeasureNetOutAll]
Measure=NetOut
Cumulative=1
[MeasureUptime]
Measure=Uptime
[MeasureDiskSpaceC]
Measure=FreeDiskSpace
Drive=C:\
[MeasureDiskSpaceD]
Measure=FreeDiskSpace
Drive=D:\
[MeasureDiskSpaceE]
Measure=FreeDiskSpace
Drive=E:\
[MeasureDiskSpaceg]
Measure=FreeDiskSpace
Drive=g:\
[MeasureDiskSpaceI]
Measure=FreeDiskSpace
Drive=I:\
[MeasureDiskSpacej]
Measure=FreeDiskSpace
Drive=j:\
[MeasureDiskSpaceK]
Measure=FreeDiskSpace
Drive=K:\
[MeasureDiskSpaceL]
Measure=FreeDiskSpace
Drive=L:\
;
; Define all meters. The meters are the visual representations of the
; measured values. You can bind several meters to a one measure.
;
[MeterBlack]
Meter=IMAGE
X=0
Y=0
W=90
H=547
SolidColor=0, 0, 0, 128
[MeterWhite]
Meter=IMAGE
X=90
Y=0
W=90
H=547
SolidColor=255, 255, 255, 128
[MeterUserName]
Meter=STRING
MeasureName=MeasureUserName
X=90
Y=8
FontColor=184,21,29
StringStyle=bold
FontSize=8.5
StringAlign=RIGHT
FontFace=Arial
PostFix=”@”
AntiAlias=1
[MeterHostName]
Meter=STRING
MeasureName=MeasureHostName
X=90
Y=8
FontColor=255,255,255
StringStyle=BOLD
FontSize=8.5
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterOS]
Meter=STRING
MeasureName=MeasureOS
X=90
Y=30
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterOS.txt]
Meter=STRING
X=90
Y=30
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“OS: “
[MeterIP]
Meter=STRING
MeasureName=MeasureIP
X=90
Y=45
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterIP.txt]
Meter=STRING
X=90
Y=45
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“IP: “
[MeterGateway]
Meter=STRING
MeasureName=MeasureGateway
X=90
Y=60
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterGateway.txt]
Meter=STRING
X=90
Y=60
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Gateway: “
[MeterDNS]
Meter=STRING
MeasureName=MeasureDNS
X=90
Y=75
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterDNS.txt]
Meter=STRING
X=90
Y=75
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“DNS: “
[MeterCPU]
Meter=STRING
MeasureName=MeasureCPU
X=90
Y=90
FontColor=252, 249, 0
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
Postfix=”%”
AntiAlias=1
[MeterCPU.txt]
Meter=STRING
X=90
Y=90
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“CPU: “
[MeterMEM]
Meter=STRING
MeasureName=MeasureMEM
X=90
Y=105
FontColor=1, 252, 120
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
Postfix=“B”
AntiAlias=1
AutoScale=1
[MeterMEM.txt]
Meter=STRING
X=90
Y=105
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Memory: “
[MeterSwap]
Meter=STRING
MeasureName=MeasureSwap
X=90
Y=120
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
Postfix=“B”
AntiAlias=1
AutoScale=1
[MeterSwap.txt]
Meter=STRING
X=90
Y=120
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Swap: “
[MeterProcesses]
Meter=STRING
MeasureName=MeasureProcesses
X=90
Y=135
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterProcesses.txt]
Meter=STRING
X=90
Y=135
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Processes: “
[MeterPerfMonDiskRead]
Meter=STRING
MeasureName=MeasurePerfMonDiskRead
X=90
Y=150
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“Bps”
[MeterPerfMonDiskRead.txt]
Meter=STRING
X=90
Y=150
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Read bytes: “
[MeterPerfMonDiskWrite]
Meter=STRING
MeasureName=MeasurePerfMonDiskWrite
X=90
Y=165
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“Bps”
[MeterPerfMonDiskWrite.txt]
Meter=STRING
X=90
Y=165
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Write bytes: “
[MeterNetIn]
Meter=STRING
MeasureName=MeasureNetIn
X=90
Y=180
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“Bps”
[MeterNetIn.txt]
Meter=STRING
X=90
Y=180
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Net in: “
[MeterNetOut]
Meter=STRING
MeasureName=MeasureNetOut
X=90
Y=195
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“Bps”
[MeterNetOut.txt]
Meter=STRING
X=90
Y=195
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Net out: “
[MeterNetInAll]
Meter=STRING
MeasureName=MeasureNetInAll
X=90
Y=210
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“B”
[MeterNetInAll.txt]
Meter=STRING
X=90
Y=210
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Net in all: “
[MeterNetOutAll]
Meter=STRING
MeasureName=MeasureNetOutAll
X=90
Y=225
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
PostFix=“B”
[MeterNetOutAll.txt]
Meter=STRING
X=90
Y=225
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Net out all: “
[MeterUptime]
Meter=STRING
MeasureName=MeasureUptime
X=90
Y=370
FontColor=0, 0, 0
StringStyle=Normal
FontSize=9
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
[MeterUptime.txt]
Meter=STRING
X=90
Y=370
StringStyle=Bold
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Uptime: “
[MeterDiskFreeC]
Meter=STRING
MeasureName=MeasureDiskSpaceC
X=90
Y=290
FontColor=236,222,1
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeC.txt]
Meter=STRING
X=90
Y=290
FontColor=236,222,1
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Sony - C:\\=”
[MeterDiskFreeD]
Meter=STRING
MeasureName=MeasureDiskSpaceD
X=90
Y=300
FontColor=236,222,1
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeD.txt]
Meter=STRING
X=90
Y=300
FontColor=236,222,1
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Sony - D:\\=”
[MeterDiskFreeg]
Meter=STRING
MeasureName=MeasureDiskSpaceg
X=90
Y=310
FontColor=1, 252, 120
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeg.txt]
Meter=STRING
X=90
Y=310
FontColor=1, 252, 120
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Que - G:\\=”
[MeterDiskFreeI]
Meter=STRING
MeasureName=MeasureDiskSpaceI
X=90
Y=320
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeI.txt]
Meter=STRING
X=90
Y=320
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“IONmedia - I:\\=”
[MeterDiskFreeJ]
Meter=STRING
MeasureName=MeasureDiskSpaceJ
X=90
Y=330
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeJ.txt]
Meter=STRING
X=90
Y=330
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“IONprogs - J:\\= “
[MeterDiskFreeK]
Meter=STRING
MeasureName=MeasureDiskSpaceK
X=90
Y=340
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeK.txt]
Meter=STRING
X=90
Y=340
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“IONwrkng - K:\\=”
[MeterDiskFreeL]
Meter=STRING
MeasureName=MeasureDiskSpaceL
X=90
Y=350
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
AutoScale=1
Postfix=“B”
[MeterDiskFreeL.txt]
Meter=STRING
X=90
Y=350
FontColor=1, 253, 238
StringStyle=BOLD
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“IPOD - L:\\=”
;power meter
[MeasurePowerTime]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=Lifetime
[MeasurePowerTime2]
Measure=Calc
Formula=FLOOR((MeasurePowerTime / 60) % 60) + 9900 + FLOOR(MeasurePowerTime / 3600) * 10000 + 9800000
Substitute=“99”:”:”,“98”:”“
[MeasurePowerTimeM]
Measure=Calc
Formula=FLOOR((MeasurePowerTime / 60) % 60)
[MeasurePowerTimeH]
Measure=Calc
Formula=FLOOR(MeasurePowerTime / 3600)
[MeterPowerTime]
MeasureName=MeasurePowerTimeM
MeasureName2=MeasurePowerTimeH
Meter=STRING
X=90
Y=385
FontColor=0,0,0
StringStyle=Normal
FontSize=9
StringAlign=LEFT
FontFace=Arial
Text=”%2:%1”
AntiAlias=1
[Meterbattery.txt]
Meter=STRING
X=90
Y=385
StringStyle=BOLD
FontColor=255, 255, 255
StringStyle=NORMAL
FontSize=8
StringAlign=RIGHT
FontFace=Arial
AntiAlias=1
Prefix=“Battery life: “
[MeasurePowerState]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=ACLINE
IfAboveValue=0
IfBelowValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterPowerTime] [!RainmeterShowMeter Pwr]
IfBelowAction=!execute [!RainmeterShowMeter MeterPowerTime] [!RainmeterHideMeter Pwr]
[Pwr]
Meter=STRING
X=90
Y=385
StringStyle=Normal
FontColor=0, 0, 0
StringStyle=NORMAL
FontSize=8
StringAlign=LEFT
FontFace=Arial
AntiAlias=1
PostFix=“AC Power”
Hidden=1