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

Ethan avatar
By Ethan
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

Lucy avatar
By Lucy
at 2007-12-08T07:50
一定有人直接按了End!!
Caitlin avatar
By Caitlin
at 2007-12-11T21:57
被發現了(驚)
Damian avatar
By Damian
at 2007-12-12T18:20
被抓包了(驚)
Olive avatar
By Olive
at 2007-12-13T19:08
.......(驚)
Madame avatar
By Madame
at 2007-12-14T02:17
打槍了(驚)
Callum avatar
By Callum
at 2007-12-18T18:33
..被發現了(驚) 不過還是推一個 XD
Belly avatar
By Belly
at 2007-12-20T13:23
被看穿了(驚)
Sierra Rose avatar
By Sierra Rose
at 2007-12-24T06:38
被摸透了(驚)
Faithe avatar
By Faithe
at 2007-12-26T06:43
被XX了(嚇) 推一個 真高手 XD
John avatar
By John
at 2007-12-27T22:13
我有按幾頁再按END 這樣算不算! 不過寫得真詳細 ~~

可以求真男人-鋒哥的桌布嗎?

Steve avatar
By Steve
at 2007-12-04T13:41
看到鋒哥的逆轉全壘打 超級感動的 不知道有沒有鋒哥的帥氣桌布 - ...

日本可口可樂 廣末涼子 身體巡茶 官方桌布

Isla avatar
By Isla
at 2007-12-04T12:16
不知道有沒有人發現~(好像自己發現的太晚了) 官方網頁同時也附贈了一個部落格小玩意 http://www.jyoka-keikaku.jp/meguri-garden/index.html 一開始會有動畫~等個一兩秒就可以看到blog part~之後點進去就可以看到原始碼囉! 它有兩種size~任君挑選!!哈 ...

widget的問題

Belly avatar
By Belly
at 2007-12-04T11:54
有人裝了widget後,按ctrl+space要做中英文輸入法轉換時,沒辦法轉 還會有一個人在唸英文,很像翻譯機的那種聲音 要怎麼解決啊andgt;and#34;andlt; 不能轉換好麻煩~~ -- 今年最流行的一條線~( ̄▽ ̄)~(_△_)~( ̄▽ ̄)~(_△_)~( ̄▽ ̄)~ ht ...

有沒有地圖的桌布

Daph Bay avatar
By Daph Bay
at 2007-12-04T11:36
如題 有沒有那種台灣古地圖的桌布 呈現紙張發黃的那種感覺的桌布 希望有濃濃的懷舊味 感謝版友分享 謝謝 - ...

問一個笨問題

Sarah avatar
By Sarah
at 2007-12-04T09:34
就是要怎麼換桌面那些圖示(icon) 請問是用什麼軟體嗎?? 還是可以直接改?? 這個問題會不會太笨Orz 板上有分享好多但是我卻不會換 謝謝喔 - ...