Rainmeter skin 製作 - 桌布

By Christine
at 2008-02-01T21:44
at 2008-02-01T21:44
Table of Contents
我想寫一個顯示Gmail有幾封新信的skin
拿了Gmail Mailchecker Rainmeter來改
目前程式碼如下
[Rainmeter]
BackgroundMode=1
Update=1000
AppVersion=13000
[Variables]
SkinName="mailcheck"
Url=https://USERNAME:[email protected]/gmail/feed/atom
RegExp="(?siU)<fullcount>(.*)</fullcount>"
Codepage=0
DownloadLogo=1
;===========================================================================
; Measures
;===========================================================================
[MeasureRSSNews]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp=#RegExp#
Codepage=#Codepage#
Download=#DownloadLogo#
UpdateRate=20
StringIndex=4
FinishAction=!Execute [!RainmeterRedraw #SkinName#]
Debug=1
[MeasureTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureRSSNews]
StringIndex=1
UpdateRate=30
Substitute="(.*)":"*.png"
;===========================================================================
; Meters
;===========================================================================
[MeterMailIcon]
Meter=IMAGE
X=5
Y=-3
ImageName=Gmail Logo.png
;LeftMouseDownAction=!Execute ["http://mail.google.com/mail/"]
[MeterIcon0]
Meter=IMAGE
MeasureName=MeasureTitle
X=0
Y=0
我遇到的問題是 skin在載入或是refresh後 可以正確的顯示有幾封新信 (用圖片顯示)
但是如果新信的數量有改變 UpdateRate時間到了也不會更新圖片
不知道問題在哪 囧 希望能有高手能解答
※ 編輯: xelnaga 來自: 220.133.214.129 (02/01 21:45)
拿了Gmail Mailchecker Rainmeter來改
目前程式碼如下
[Rainmeter]
BackgroundMode=1
Update=1000
AppVersion=13000
[Variables]
SkinName="mailcheck"
Url=https://USERNAME:[email protected]/gmail/feed/atom
RegExp="(?siU)<fullcount>(.*)</fullcount>"
Codepage=0
DownloadLogo=1
;===========================================================================
; Measures
;===========================================================================
[MeasureRSSNews]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=#Url#
RegExp=#RegExp#
Codepage=#Codepage#
Download=#DownloadLogo#
UpdateRate=20
StringIndex=4
FinishAction=!Execute [!RainmeterRedraw #SkinName#]
Debug=1
[MeasureTitle]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureRSSNews]
StringIndex=1
UpdateRate=30
Substitute="(.*)":"*.png"
;===========================================================================
; Meters
;===========================================================================
[MeterMailIcon]
Meter=IMAGE
X=5
Y=-3
ImageName=Gmail Logo.png
;LeftMouseDownAction=!Execute ["http://mail.google.com/mail/"]
[MeterIcon0]
Meter=IMAGE
MeasureName=MeasureTitle
X=0
Y=0
我遇到的問題是 skin在載入或是refresh後 可以正確的顯示有幾封新信 (用圖片顯示)
但是如果新信的數量有改變 UpdateRate時間到了也不會更新圖片
不知道問題在哪 囧 希望能有高手能解答
※ 編輯: xelnaga 來自: 220.133.214.129 (02/01 21:45)
→ xelnaga:我發現從0變其他數字 或是其他數字變0可以 但是 1變2 02/01 21:53
→ xelnaga:或是 2變1之類的就不行 02/01 21:54
Tags:
桌布
All Comments

By Elvira
at 2008-02-02T06:00
at 2008-02-02T06:00

By Ursula
at 2008-02-03T12:35
at 2008-02-03T12:35
Related Posts
新年快樂

By Odelette
at 2008-02-01T18:26
at 2008-02-01T18:26
ACG壁紙1280x960 PART5

By David
at 2008-02-01T17:57
at 2008-02-01T17:57
二三月月曆

By Emily
at 2008-02-01T15:51
at 2008-02-01T15:51
桌面下msn的橘燈

By Anthony
at 2008-02-01T13:40
at 2008-02-01T13:40
日本可口可樂 Happiness Factory壁紙

By Joe
at 2008-02-01T10:29
at 2008-02-01T10:29