I wanted something small to fit on the Taskbar. Originally I just had basic illustro CPU and RAM as I needed to keep an eye on them when making music. But, I expanded it to include some other stuff gradually. First I added Net usage then Time/Date then Battery and finally a Launcher.
I originally wanted the launcher to stay in the Taskbar and although this works it looks pretty crap due to the small icon size at 12x12 pixels each! As I learnt a little more I found out new things I could do and so changed the original design dramatically.
I first edited a graphic from illustro for the background and then found out I could create my own without additional graphics. I also edited a RocketDock skin for the Launcher but, again decided to do without.
You need to set this skins position to Stay Topmost to place on the Taskbar. You'll also have to supply your own icons for the launcher, though the buttons still work, you'll probably want your own shorcuts anyway, so I didn't see much point supplying mine. There are some good ones on RocketDock and many other sites have good icons that I got simply googling.
Due to the variations in the icons designs you may need to do minor position and size adjustments too just so they appear the same size and in a line. Maybe Rainmeter can do this automatically with a bit of code? I don't know.
The Paths will obviously need adjusting too for your shortcuts and also the ACImage. The icon for ACImage is available here.
Here's the System - Micro Launcher:
Code: Select all
; System + Shortcuts : some helpful info at bottom.
[Rainmeter]
Author=
AppVersion=2000000
Update=1000
MouseOverAction=[!HideMeterGroup Hide][!UpdateMeterGroup Hide][!ShowMeterGroup Show][!UpdateMeterGroup Show][!Redraw]
MouseLeaveAction=[!ShowMeterGroup Hide][!UpdateMeterGroup Hide][!HideMeterGroup Show][!UpdateMeterGroup Show][!Redraw]
[Metadata]
Description=Displays system stats and small Shortcuts
License=
Version=
[Variables]
fontName=Trebuchet MS
textSize=8
colorText=255,255,255,205
;---------------------------------------------------------------------
; Background
;---------------------------------------------------------------------
[meterBarBackground]
Meter=BAR
MeterStyle=styleBar
SolidColor=250,250,250,60
X=0
Y=0
W=252
H=28
[meterBarBackground2]
Meter=BAR
MeterStyle=styleBar
SolidColor=0,0,0,170
X=1
Y=1
W=250
H=27
;---------------------------------------------------------------------
; STYLES
;---------------------------------------------------------------------
[styleLeftText]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=0,255,255
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=0,255,255
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText2]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=100,100,255
FontFace=#fontName#
FontSize=7
AntiAlias=1
ClipString=1
[styleBar]
BarColor=235,170,0,255
BarOrientation=HORIZONTAL
;---------------------------------------------------------------------
; CPU
;---------------------------------------------------------------------
[measureCPU]
Measure=CPU
Processor=0
; Average CPU load between all cores.
[meterLabelCPU]
Meter=STRING
MeterStyle=styleLeftText
X=2
Y=1
W=30
H=10
Text="CPU"
[meterValueCPU]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureCPU
X=57
Y=0r
W=30
H=10
Text="%1 %"
[meterBarCPU]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureCPU
SolidColor=250,250,250,50
X=3
Y=12
W=246
H=2
;---------------------------------------------------------------------
; RAM
;---------------------------------------------------------------------
[measureRAM]
Measure=PhysicalMemory
UpdateDivider=20
[meterLabelRAM]
Meter=STRING
MeterStyle=styleLeftText
X=2
Y=15
W=30
H=10
Text="RAM"
[meterValueRAM]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureRAM
X=57
Y=0r
W=30
H=10
Text="%1 %"
Percentual=1
[meterBarRAM]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureRAM
SolidColor=250,250,250,50
X=3
Y=26
W=244
H=2
;---------------------------------------------------------------------
; IP Address
;---------------------------------------------------------------------
[measureIP]
Measure=Plugin
Plugin=WebParser.dll
Url=http://checkip.dyndns.org
UpdateRate=14400
RegExp="(?siU)Address: (.*)</body>"
StringIndex=1
Substitute="":"N/A"
[meterIPValue]
Meter=STRING
MeterStyle=styleRightText2
MeasureName=measureIP
AutoScale=1
Group=Show
X=188
Y=16
W=150
H=10
Text="%1"
Hidden=1
;---------------------------------------------------------------------
; Net In/Out
;---------------------------------------------------------------------
[MeasureNetIn]
Measure=NetIn
MaxValue=#NetworkMaxDownload#
[MeasureNetOut]
Measure=NetOut
NetOutSpeed=#maxUpload#
[In]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureNetIn
NumOfDecimals=0
AutoScale=1
X=248
Y=15
W=70
H=10
[Label In]
Meter=STRING
MeterStyle=styleLeftText
Text="D:"
X=200
Y=0r
W=20
H=10
[Out]
Meter=STRING
MeterStyle=styleRightText
MeasureName=MeasureNetOut
NumOfDecimals=0
AutoScale=1
X=248
Y=1
W=70
H=10
[Label Out]
Meter=STRING
MeterStyle=styleLeftText
Text="U:"
X=200
Y=0r
W=20
H=10
;---------------------------------------------------------------------
; Battery/AC
;---------------------------------------------------------------------
[colorBatt]
measure=calc
formula=(MeasureBatteryPercent < 16) ? -5 : ((MeasureBatteryPercent < 31) ? -4 : ((MeasureBatteryPercent <51) ? -3 : ((MeasureBatteryPercent <76) ? -2 : -1)))
Substitute="-1" : "00C403" , "-2" : "7BE000" , "-3" : "E1E500" , "-4" : "FFA500" , "-5" : "CE0000"
[BatteryMeter]
Meter=BAR
MeasureName=MeasureBatteryPercent
BarColor=[colorBatt]
;BarColor=100,150,50,255 (Green)
;BarColor=235,170,0,255 (Yellow)
;BarColor=255,85,85,255 (Red)
BarOrientation=Horizontal
SolidColor=255,85,85,100
Group=Hide
X=78
Y=4
W=100
H=4
DynamicVariables=1
[MeasureBatteryPercent]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT
[MeterBatteryPercent]
Meter=STRING
MeterStyle=styleRightText2
MeasureName=MeasureBatteryPercent
Text=%1 %
Group=Show
X=100
Y=15
W=40
H=10
Hidden=1
[MeasureAc]
Measure=Plugin
PlugIn=PlugIns\PowerPlugin.dll
PowerState=ACLINE
IfAboveValue=0
IfAboveAction=[!SetOption MeterAcImage ImageTint 255,255,255,255]
IfBelowValue=1
IfBelowAction=[!SetOption MeterAcImage ImageTint 0,0,0,0]
[MeterAcImage]
Hidden=1
Meter=IMAGE
Group=Show
ImageName=#SKINSPATH#\System\Graphics\AC.png
ImageTint=0,0,0,255
X=60
Y=-2r
W=14
H=13
;---------------------------------------------------------------------
;Time + Date
;---------------------------------------------------------------------
[measureTime]
Measure=Time
Format=- %I:%M - %a %d %b -
; See here for other formats - http://docs.rainmeter.net/manual/measures/time
[meterTime]
Meter=STRING
MeterStyle=styleLeftText
MeasureName=measureTime
Group=Hide
X=71
Y=15
W=130
H=10
Text="%1"
;---------------------------------------------------------------------
; Launchers
;---------------------------------------------------------------------
[TaskMan]
Hidden=1
Meter=IMAGE
ToolTipText="Task Manager"
LeftMouseUpAction=["taskmgr.exe"]
MouseActionCursor=1
Group=Show
X=0
Y=0
W=55
H=26
[Launcher1]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\1L.png
LeftMouseUpAction=\MyApps\PortableApps\FirefoxPortable\FirefoxPortable.exe
MouseActionCursor=1
Group=Show
X=60
Y=1
W=12
H=12
[Launcher2]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\2L.png
LeftMouseUpAction=\MyApps\PortableApps\ThunderbirdPortable\ThunderbirdPortable.exe
MouseActionCursor=1
Group=Show
X=14r
Y=-1r
W=13
H=13
[Launcher3]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\3L.png
LeftMouseUpAction=\MyApps\PortableApps\CubicExplorerPortable\CubicExplorerPortable.exe
MouseActionCursor=1
Group=Show
X=15r
Y=0r
W=11
H=12
[Launcher4]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\4L.png
LeftMouseUpAction=\MyApps\PortableApps\MuLabPortable\MuLabPortable.exe
MouseActionCursor=1
Group=Show
X=12r
Y=0r
W=13
H=13
[Launcher5]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\5L.png
LeftMouseUpAction=["\MyApps\PortableApps\uTorrentPortable v3.2\uTorrentPortable.exe"]
MouseActionCursor=1
Group=Show
X=14r
Y=1r
W=11
H=11
[Launcher6]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\6L.png
LeftMouseUpAction=\MyApps\Start.exe
MouseActionCursor=1
Group=Show
AntiAlias=1
X=13r
Y=-1r
W=12
H=12
[Launcher7]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\7L.png
LeftMouseUpAction=["%ProgramFiles%\Windows NT\Accessories\wordpad.exe"]
MouseActionCursor=1
Group=Show
X=13r
Y=1r
W=12
H=12
[Launcher8]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\8L.png
LeftMouseUpAction=%SystemRoot%\explorer.exe shell:RecycleBinFolder
MouseActionCursor=1
Group=Show
X=158
Y=0r
W=12
H=12
[Launcher9]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\9.png
LeftMouseUpAction=
MouseActionCursor=1
Group=Show
X=172
Y=0r
W=12
H=12
[Launcher10]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\10.png
LeftMouseUpAction=
MouseActionCursor=1
Group=Show
X=186
Y=0r
W=12
H=12
; Lines starting ; (semicolons) do not affect the code and are here for information purposes only.
; METERS display images, text, bars, etc.
; MEASURES return some kind of value
; STYLES are used to "centralize" options
; VARIABLES can be used later on between two # characters (e.g. #MyVariable#).
; METADATA contains basic information of the skin.
; RAINMETER contains general settings that can be used to change how Rainmeter behaves.
; Position: r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
; [MeterValueRAM] Percentual=1 needs to be added here because measureRAM returns the amount of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.
; [MeasureIP] Substitute works as follows: "A":"B" where A is a string to substitute and B is a string to substitute with. In this case, it substutes "" (i.e. empty) to N/A
; [meterIPvalue] %1 stands for the value of MeasureName (measureIP in this case).
; Using MeterStyle=styleLeftText will basically "copy" the contents of the [styleLeftText] section here during runtime.
; [MeterTime] %1 stands for the value of MeasureName (measureTime in this case).
; Control Panel Item Shortcut info - http://docs.rainmeter.net/tips/control-panel-applets
; [RAM] UpdateDivider sets the rate at which the value of the measure is updated. It is calculated as follows: UpdateDivider x Update. In this case, Update is set to 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.
Code: Select all
; System + Shortcuts : some helpful info at bottom.
[Rainmeter]
Author=
AppVersion=2000000
Update=1000
MouseOverAction=[!HideMeterGroup Hide][!UpdateMeterGroup Hide][!ShowMeterGroup Show][!UpdateMeterGroup Show][!Redraw]
MouseLeaveAction=[!ShowMeterGroup Hide][!UpdateMeterGroup Hide][!HideMeterGroup Show][!UpdateMeterGroup Show][!Redraw]
[Metadata]
Description=Displays system stats and Large Shortcuts
License=
Version=
[Variables]
fontName=Trebuchet MS
textSize=8
colorText=255,255,255,205
;---------------------------------------------------------------------
; Background
;---------------------------------------------------------------------
[meterBarBackground]
Meter=BAR
MeterStyle=styleBar
SolidColor=250,250,250,60
Group=Hide
X=23
Y=40
W=252
H=28
[meterBarBackground2]
Meter=BAR
MeterStyle=styleBar
SolidColor=0,0,0,170
Group=Hide
X=24
Y=41
W=250
H=27
[meterBarLauncher]
Meter=BAR
MeterStyle=styleBar
SolidColor=250,250,250,80
Group=Show
Hidden=1
X=0
Y=0
W=300
H=68
[meterBarLauncher2]
Meter=BAR
MeterStyle=styleBar
SolidColor=0,0,0,150
Group=Show
Hidden=1
X=2
Y=2
W=296
H=64
[meterBarUnderline]
Meter=BAR
MeterStyle=styleBar
SolidColor=250,250,250,100
Group=Show
Hidden=1
X=10
Y=36
W=280
H=2
;---------------------------------------------------------------------
; STYLES
;---------------------------------------------------------------------
[styleLeftText]
StringAlign=LEFT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=0,255,255
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=0,255,255
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1
[styleRightText2]
StringAlign=RIGHT
StringCase=NONE
StringStyle=BOLD
StringEffect=SHADOW
FontEffectColor=0,0,0,20
FontColor=100,100,255
FontFace=#fontName#
FontSize=7
AntiAlias=1
ClipString=1
[styleBar]
BarColor=235,170,0,255
BarOrientation=HORIZONTAL
;---------------------------------------------------------------------
; CPU
;---------------------------------------------------------------------
[measureCPU]
Measure=CPU
Processor=0
; Average CPU load between all cores.
[meterLabelCPU]
Meter=STRING
MeterStyle=styleLeftText
X=27
Y=41
W=30
H=10
Text="CPU"
[meterValueCPU]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureCPU
X=82
Y=0r
W=30
H=10
Text="%1 %"
[meterBarCPU]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureCPU
SolidColor=250,250,250,50
X=28
Y=52
W=244
H=2
;---------------------------------------------------------------------
; RAM
;---------------------------------------------------------------------
[measureRAM]
Measure=PhysicalMemory
UpdateDivider=20
[meterLabelRAM]
Meter=STRING
MeterStyle=styleLeftText
X=27
Y=55
W=30
H=10
Text="RAM"
[meterValueRAM]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureRAM
X=82
Y=0r
W=30
H=10
Text="%1 %"
Percentual=1
[meterBarRAM]
Meter=BAR
MeterStyle=styleBar
MeasureName=measureRAM
SolidColor=250,250,250,50
X=28
Y=66
W=244
H=2
;---------------------------------------------------------------------
; IP Address
;---------------------------------------------------------------------
[measureIP]
Measure=Plugin
Plugin=WebParser.dll
Url=http://checkip.dyndns.org
UpdateRate=14400
RegExp="(?siU)Address: (.*)</body>"
StringIndex=1
Substitute="":"N/A"
[meterIPValue]
Meter=STRING
MeterStyle=styleRightText2
MeasureName=measureIP
AutoScale=1
Group=Show
X=213
Y=55
W=150
H=10
Text="%1"
Hidden=1
;---------------------------------------------------------------------
; Net In/Out
;---------------------------------------------------------------------
[MeasureNetIn]
Measure=NetIn
MaxValue=#NetworkMaxDownload#
[MeasureNetOut]
Measure=NetOut
NetOutSpeed=#maxUpload#
[In]
Meter=STRING
MeterStyle=styleRightText
MeasureName=measureNetIn
NumOfDecimals=0
AutoScale=1
X=273
Y=55
W=70
H=10
[Label In]
Meter=STRING
MeterStyle=styleLeftText
Text="D:"
X=225
Y=0r
W=20
H=10
[Out]
Meter=STRING
MeterStyle=styleRightText
MeasureName=MeasureNetOut
NumOfDecimals=0
AutoScale=1
X=273
Y=41
W=70
H=10
[Label Out]
Meter=STRING
MeterStyle=styleLeftText
Text="U:"
X=225
Y=0r
W=20
H=10
;---------------------------------------------------------------------
; Battery/AC
;---------------------------------------------------------------------
[colorBatt]
measure=calc
formula=(MeasureBatteryPercent < 16) ? -5 : ((MeasureBatteryPercent < 31) ? -4 : ((MeasureBatteryPercent <51) ? -3 : ((MeasureBatteryPercent <76) ? -2 : -1)))
Substitute="-1" : "00C403" , "-2" : "7BE000" , "-3" : "E1E500" , "-4" : "FFA500" , "-5" : "CE0000"
[BatteryMeter]
Meter=BAR
MeasureName=MeasureBatteryPercent
BarColor=[colorBatt]
;BarColor=100,150,50,255 (Green)
;BarColor=235,170,0,255 (Yellow)
;BarColor=255,85,85,255 (Red)
BarOrientation=Horizontal
SolidColor=255,85,85,100
Group=Hide
X=103
Y=45
W=100
H=4
DynamicVariables=1
[MeasureBatteryPercent]
Measure=Plugin
Plugin=Plugins\PowerPlugin.dll
PowerState=PERCENT
[MeterBatteryPercent]
Meter=STRING
MeterStyle=styleRightText2
MeasureName=MeasureBatteryPercent
Text=%1 %
Group=Show
X=126
Y=55
W=40
H=10
Hidden=1
[MeasureAc]
Measure=Plugin
PlugIn=PlugIns\PowerPlugin.dll
PowerState=ACLINE
IfAboveValue=0
IfAboveAction=[!SetOption MeterAcImage ImageTint 255,255,255,255]
IfBelowValue=1
IfBelowAction=[!SetOption MeterAcImage ImageTint 0,0,0,0]
[MeterAcImage]
Hidden=1
Meter=IMAGE
Group=Show
ImageName=#SKINSPATH#\System\Graphics\AC.png
ImageTint=0,0,0,255
X=85
Y=-2r
W=14
H=13
;---------------------------------------------------------------------
;Time + Date
;---------------------------------------------------------------------
[measureTime]
Measure=Time
Format=- %I:%M - %a %d %b -
; See here for other formats - http://docs.rainmeter.net/manual/measures/time
[meterTime]
Meter=STRING
MeterStyle=styleLeftText
MeasureName=measureTime
Group=Hide
X=95
Y=55
W=130
H=10
Text="%1"
;---------------------------------------------------------------------
; Launchers
;---------------------------------------------------------------------
[TaskMan]
Hidden=1
Meter=IMAGE
ToolTipText="Task Manager"
LeftMouseUpAction=["taskmgr.exe"]
MouseActionCursor=1
Group=Show
X=25
Y=40
W=55
H=28
[Launcher1]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\1L.png
LeftMouseUpAction=\MyApps\PortableApps\FirefoxPortable\FirefoxPortable.exe
MouseActionCursor=1
Group=Show
X=10
Y=5
W=30
H=30
[Launcher2]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\2L.png
LeftMouseUpAction=\MyApps\PortableApps\ThunderbirdPortable\ThunderbirdPortable.exe
MouseActionCursor=1
Group=Show
X=37r
Y=-1r
W=31
H=31
[Launcher3]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\3L.png
LeftMouseUpAction=\MyApps\PortableApps\CubicExplorerPortable\CubicExplorerPortable.exe
MouseActionCursor=1
Group=Show
X=37r
Y=0r
W=32
H=32
[Launcher4]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\4L.png
LeftMouseUpAction=\MyApps\PortableApps\MuLabPortable\MuLabPortable.exe
MouseActionCursor=1
Group=Show
X=34r
Y=-3r
W=35
H=35
[Launcher5]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\5L.png
LeftMouseUpAction=["\MyApps\PortableApps\uTorrentPortable v3.2\uTorrentPortable.exe"]
MouseActionCursor=1
Group=Show
X=36r
Y=1r
W=33
H=33
[Launcher6]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\6L.png
LeftMouseUpAction=\MyApps\Start.exe
MouseActionCursor=1
Group=Show
AntiAlias=1
X=36r
Y=1r
W=32
H=32
[Launcher7]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\7L.png
LeftMouseUpAction=["%ProgramFiles%\Windows NT\Accessories\wordpad.exe"]
MouseActionCursor=1
Group=Show
X=35r
Y=1r
W=28
H=28
[Launcher8]
Hidden=1
Meter=IMAGE
ImageName=#SKINSPATH#\System\Launchers\8L.png
LeftMouseUpAction=%SystemRoot%\explorer.exe shell:RecycleBinFolder
MouseActionCursor=1
Group=Show
X=32r
Y=0r
W=28
H=28
; Lines starting ; (semicolons) do not affect the code and are here for information purposes only.
; METERS display images, text, bars, etc.
; MEASURES return some kind of value
; STYLES are used to "centralize" options
; VARIABLES can be used later on between two # characters (e.g. #MyVariable#).
; METADATA contains basic information of the skin.
; RAINMETER contains general settings that can be used to change how Rainmeter behaves.
; Position: r stands for relative. In this case, the Y position of meterValueCPU is 0 pixels below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
; [MeterValueRAM] Percentual=1 needs to be added here because measureRAM returns the amount of RAM used in bytes. Using Percentual=1 will convert that into a percentual value.
; [MeasureIP] Substitute works as follows: "A":"B" where A is a string to substitute and B is a string to substitute with. In this case, it substutes "" (i.e. empty) to N/A
; [meterIPvalue] %1 stands for the value of MeasureName (measureIP in this case).
; Using MeterStyle=styleLeftText will basically "copy" the contents of the [styleLeftText] section here during runtime.
; [MeterTime] %1 stands for the value of MeasureName (measureTime in this case).
; Control Panel Item Shortcut info - http://docs.rainmeter.net/tips/control-panel-applets
; [RAM] UpdateDivider sets the rate at which the value of the measure is updated. It is calculated as follows: UpdateDivider x Update. In this case, Update is set to 1000 milliseconds (in the [Rainmeter] section). 1000 x 20 = 20000 ms or 20 seconds.