簡易的Rainmeter製作(修改)教學 - 桌布

By Ethan
at 2007-12-04T20:42
at 2007-12-04T20:42
Table of Contents
http://www.wretch.cc/blog/voidezlove&article_id=6018581
請配合上一篇看o(一︿一+)o
因為討厭的無名吃字了(/‵Д′)/~ ╧╧
內容繁雜,內附上色碼查詢及某更豐富的教學網站(不過是日文,囧)
以ini舉例說明
; Rainmeter [Test1]
[Rainmeter]
BackgroundMode=1 一開頭要寫上 指定一開始SKIN的背景顏色
Update=250 幾秒更新一次數據 似乎1秒=1000
; ==================Set================= 此行是注釋行,讓修改時比較方便
找到,不+沒差XD
[Variables]
[Variables] 宣告指令,讓後面寫的時候較簡便
FontFace1="Death Font"
設定" "內字型代號為FontFace1
FontStyle=BOLD 設定Bold(粗體字)為 Fontstyle
FontFace2="Lucida Sans Typewriter Oblique" 同上
LineColor="255, 255, 255" 設定" "內顏色代號為LineColor
; ==================Plugin===============
[MeasureCPU]
抓取系統數據,但只抓取是不會顯示的
Measure=CPU
[MeasureMemory]
同上,抓取Ram數據
[ ]內的名稱可以剪短一些,後面會
較方便
Measure=PhysicalMemory
[MeasureTimeH]
抓取時間
Measure=Time
Format=%H
這裡我將時.分.秒.日期.星期分開
來抓取,比較不會混亂
也可以寫成Format="?????"
Format=%M
?????可以寫:%#H:%M:%S 則顯
示時間 格式:時:分:秒
%#Y / %#m / $#d %a 則顯
示日期 格式:年/月/日/星期
[MeasureTimeS]
Measure=Time
另外,這邊還有一個指令substitute
substitute="/":"月","-":"日",".":"星期"
[MeasureDate]
即將"/"以"月"代替 "-"以"日"代替 .以"星期"代替
Measure=Time
Format=%#d
[MeasureWeek]
Measure=Time
Format=%a
; ==================Meter================
[MeterDate] 程式碼的名稱 (不能重複) 每一個都必須要有
MeasureName=MeasureDate 這裡MeasureDate就是上面抓的數據啦
Meter=STRING 表現的形式,下面會再提到
X=350 X和Y便是設定這個Meter所在的位置(這個麻煩
Y=14
FontFace=#FontFace2# 上方表現形式設定是文字,這邊設定字型
FontColor=#LineColor#, 120 也可以寫成FontFace=??? ???輸入字型名稱
FontSize=16 或是利用# #內輸入剛剛上面 [Variables]
設定的代稱
StringAlign=RIGHT 設定文字的位置,靠左靠右(英文應該不用說明了)
StringStyle=BOLD
[MeterWeek]
MeasureName=MeasureWeek
Meter=STRING
X=350
Y=38
FontFace=#FontFace2#
FontColor=#LineColor#, 140
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
Postfix=. 在Meter後面要顯示的字,可以自己更改
[MeterClockH]
Meter=STRING
MeasureName=MeasureTimeH
X=236
Y=3
FontFace=#FontFace1#
FontColor=#LineColor#, 60
FontSize=38
StringAlign=RIGHT
StringStyle=Bold
Postfix=":"
[MeterClockM]
Meter=STRING
MeasureName=MeasureTimeM
X=224
Y=0r
FontFace=#FontFace1#
FontColor=#LineColor#, 60
FontSize=38
StringAlign=LEFT
StringStyle=Bold
; =======================Cpu Ram Swap===============
[MeterSquareCPU]
Meter=Image Meter表現形式為圖樣
X=5
Y=1
W=2
W,H代表著高和厚
H=5
SolidColor=255, 255, 255, 100 顏色設定字串
前三碼為顏色 最後100為透明度
[MeterSquareRAM]
Meter=Image
X=5
Y=41
W=2
H=5
SolidColor=255, 255, 255, 100
[MeterTitleCPU]
Meter=STRING
X=12
Y=-2
FontColor=255, 255, 255, 100
FontSize=15
FontFace=#FontFace1#
StringAlign=LEFT
Prefix="CPU"
AntiAlias=0
[MeterTitleRAM]
Meter=STRING
X=12
Y=38
FontColor=255, 255, 255, 100
FontSize=15
FontFace=#FontFace1#
StringAlign=LEFT
Prefix="Memory"
AntiAlias=0
[MeterCPU]
MeasureName=MeasureCPU
Meter=BAR Meter表現方式為光棒樣
X=4
Y=13
W=116
H=15
BarOrientation=HORIZONTAL 長條圖的方向(這邊設定為水平)
BarColor=255, 255, 255, 100
[MeterCPU%]
MeasureName=MeasureCPU
Meter=STRING
X=120
Y=13
FontColor=255, 255, 255, 255
StringStyle=NORMAL
FontSize=14
StringAlign=RIGHT
FontFace=#FontFace1#
PostFix=" %"
[MeterRAM]
MeasureName=MeasureMemory
Meter=BAR
X=4
Y=54
W=116
H=15
BarOrientation=HORIZONTAL
BarColor=255, 255, 255, 100
[MeterRAM%]
MeasureName=MeasureMemory
Meter=STRING
Percentual=1
X=120
Y=54
FontColor=255, 255, 255, 255
StringStyle=NORMAL
FontSize=14
StringAlign=RIGHT
FontFace=#FontFace1#
PostFix=" %"
--------------------------------------------------------------
--
Tags:
桌布
All Comments

By Lucy
at 2007-12-08T07:50
at 2007-12-08T07:50

By Caitlin
at 2007-12-11T21:57
at 2007-12-11T21:57

By Damian
at 2007-12-12T18:20
at 2007-12-12T18:20

By Olive
at 2007-12-13T19:08
at 2007-12-13T19:08

By Madame
at 2007-12-14T02:17
at 2007-12-14T02:17

By Callum
at 2007-12-18T18:33
at 2007-12-18T18:33

By Belly
at 2007-12-20T13:23
at 2007-12-20T13:23

By Sierra Rose
at 2007-12-24T06:38
at 2007-12-24T06:38

By Faithe
at 2007-12-26T06:43
at 2007-12-26T06:43

By John
at 2007-12-27T22:13
at 2007-12-27T22:13
Related Posts
可以求真男人-鋒哥的桌布嗎?

By Steve
at 2007-12-04T13:41
at 2007-12-04T13:41
日本可口可樂 廣末涼子 身體巡茶 官方桌布

By Isla
at 2007-12-04T12:16
at 2007-12-04T12:16
widget的問題

By Belly
at 2007-12-04T11:54
at 2007-12-04T11:54
有沒有地圖的桌布

By Daph Bay
at 2007-12-04T11:36
at 2007-12-04T11:36
問一個笨問題

By Sarah
at 2007-12-04T09:34
at 2007-12-04T09:34