a | b | |
---|
| 0 | + | ;*********************************************************** |
---|
| 0 | + | ;kns-41__gmail [Update: 2010.08.03] |
---|
| 0 | + | ; |
---|
| 0 | + | ;[概要] 「Gmail」受信トレイのメッセージ数と上位6件の件名を取得 |
---|
| 0 | + | ;[設定] 下の[Variables]セクション内の「ユーザー名」と「パスワード」を書き換える。 |
---|
| 0 | + | ;[操作] タイトルクリックで各メッセージページをブラウザで開きます(要ログイン)。 |
---|
| 0 | + | ;[備考] |
---|
| 0 | + | ;*********************************************************** |
---|
| 0 | + | |
---|
| 0 | + | [Variables] |
---|
| 0 | + | Url=https://kenz0.kenz0.kenz0:kerokero@mail.google.com/mail/feed/atom |
---|
| 0 | + | Update=1800 |
---|
| 0 | + | |
---|
| 0 | + | ACTION=[PLAY notify.wav] |
---|
| 0 | + | LASTUPDATE=0 |
---|
| 0 | + | |
---|
| 0 | + | ;↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ |
---|
| 0 | + | |
---|
| 0 | + | tX=101 |
---|
| 0 | + | tY=4 |
---|
| 0 | + | tFontColor=106,106,106,255 |
---|
| 0 | + | X=12 |
---|
| 0 | + | Y=19 |
---|
| 0 | + | Yr=16r |
---|
| 0 | + | W=190 |
---|
| 0 | + | H=10 |
---|
| 0 | + | FontColor=106,106,106,255 |
---|
| 0 | + | FontFace="MS UI Gothic" |
---|
| 0 | + | FontSize=8 |
---|
| 0 | + | REG="(?sU)<title>(.*)</title>.*message_id=(.*)&" |
---|
| 0 | + | LINK=https://mail.google.com/mail/?shva=1#inbox/ |
---|
| 0 | + | |
---|
| 0 | + | [Rainmeter] |
---|
| 0 | + | Author=Kenz0 |
---|
| 0 | + | BackgroundMode=2 |
---|
| 0 | + | BackgroundMargins=6,6,6,6 |
---|
| 0 | + | SolidColor=255,255,255,128 |
---|
| 0 | + | SolidColor2=255,255,255,64 |
---|
| 0 | + | GradientAngle=45.0 |
---|
| 0 | + | BevelType=1 |
---|
| 0 | + | |
---|
| 0 | + | [bg-0] |
---|
| 0 | + | Meter=Image |
---|
| 0 | + | X=6 |
---|
| 0 | + | Y=16 |
---|
| 0 | + | W=200 |
---|
| 0 | + | H=96 |
---|
| 0 | + | SolidColor=240,240,240,255 |
---|
| 0 | + | |
---|
| 0 | + | [bg-1] |
---|
| 0 | + | Meter=Image |
---|
| 0 | + | X=6 |
---|
| 0 | + | Y=16r |
---|
| 0 | + | W=200 |
---|
| 0 | + | H=16 |
---|
| 0 | + | SolidColor=255,255,255,255 |
---|
| 0 | + | |
---|
| 0 | + | [bg-2] |
---|
| 0 | + | Meter=Image |
---|
| 0 | + | X=6 |
---|
| 0 | + | Y=32r |
---|
| 0 | + | W=200 |
---|
| 0 | + | H=16 |
---|
| 0 | + | SolidColor=255,255,255,255 |
---|
| 0 | + | |
---|
| 0 | + | [bg-3] |
---|
| 0 | + | Meter=Image |
---|
| 0 | + | X=6 |
---|
| 0 | + | Y=32r |
---|
| 0 | + | W=200 |
---|
| 0 | + | H=16 |
---|
| 0 | + | SolidColor=255,255,255,255 |
---|
| 0 | + | |
---|
| 0 | + | ;↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ |
---|
| 0 | + | |
---|
| 0 | + | ;=========================================================== |
---|
| 0 | + | |
---|
| 0 | + | [SO] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | UpdateRate=#Update# |
---|
| 0 | + | Url=#Url# |
---|
| 0 | + | ;RegExp="(?siU)<fullcount>(.*)</fullcount>(.+<title>.+</title>|)(.+<title>.+</title>|)(.+<title>.+</title>|)(.+<title>.+</title>|)(.+<title>.+</title>|)(.+<title>.+</title>|)" |
---|
| 0 | + | RegExp="(?sU)<fullcount>(.*)</fullcount>(.*<entry>.*</entry>|)(.*<entry>.*</entry>|)(.*<entry>.*</entry>|)(.*<entry>.*</entry>|)(.*<entry>.*</entry>|)(.*<entry>.*</entry>|)" |
---|
| 0 | + | StringIndex=1 |
---|
| 0 | + | FinishAction=!execute [!RainmeterEnableMeasure Time][!RainmeterEnableMeasure TimeStop] |
---|
| 0 | + | |
---|
| 0 | + | [H1] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="( No Messages )" |
---|
| 0 | + | |
---|
| 0 | + | [L1] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H1] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [H2] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=3 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="--" |
---|
| 0 | + | |
---|
| 0 | + | [L2] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H2] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [H3] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=4 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="--" |
---|
| 0 | + | |
---|
| 0 | + | [L3] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H3] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [H4] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=5 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="--" |
---|
| 0 | + | |
---|
| 0 | + | [L4] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H4] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [H5] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=6 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="--" |
---|
| 0 | + | |
---|
| 0 | + | [L5] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H5] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [H6] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[SO] |
---|
| 0 | + | RegExp=#REG# |
---|
| 0 | + | StringIndex=7 |
---|
| 0 | + | StringIndex2=1 |
---|
| 0 | + | ErrorString="--" |
---|
| 0 | + | |
---|
| 0 | + | [L6] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[H6] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | ;=========================================================== |
---|
| 0 | + | |
---|
| 0 | + | [t-1s] |
---|
| 0 | + | MeasureName=SO |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=100 |
---|
| 0 | + | Y=3 |
---|
| 0 | + | FontColor=FFFFFFFF |
---|
| 0 | + | StringStyle=BOLD |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=CENTER |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | Text="New Message (%1)" |
---|
| 0 | + | |
---|
| 0 | + | [t-1] |
---|
| 0 | + | MeasureName=SO |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#tX# |
---|
| 0 | + | Y=#tY# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=BOLD |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=CENTER |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | Text="New Message (%1)" |
---|
| 0 | + | LeftMouseDownAction=!Execute [http://mail.google.com/] |
---|
| 0 | + | |
---|
| 0 | + | ;----------------------------- |
---|
| 0 | + | |
---|
| 0 | + | [h-1] |
---|
| 0 | + | MeasureName=H1 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Y# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L1]] |
---|
| 0 | + | |
---|
| 0 | + | [h-2] |
---|
| 0 | + | MeasureName=H2 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Yr# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L2]] |
---|
| 0 | + | |
---|
| 0 | + | [h-3] |
---|
| 0 | + | MeasureName=H3 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Yr# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L3]] |
---|
| 0 | + | |
---|
| 0 | + | [h-4] |
---|
| 0 | + | MeasureName=H4 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Yr# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L4]] |
---|
| 0 | + | |
---|
| 0 | + | [h-5] |
---|
| 0 | + | MeasureName=H5 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Yr# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L5]] |
---|
| 0 | + | |
---|
| 0 | + | [h-6] |
---|
| 0 | + | MeasureName=H6 |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=#X# |
---|
| 0 | + | Y=#Yr# |
---|
| 0 | + | W=#W# |
---|
| 0 | + | H=#H# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=NORMAL |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=LEFT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | ClipString=1 |
---|
| 0 | + | LeftMouseDownAction=!Execute [#LINK#[L6]] |
---|
| 0 | + | |
---|
| 0 | + | ;============================= |
---|
| 0 | + | |
---|
| 0 | + | [Time] |
---|
| 0 | + | Measure=Time |
---|
| 0 | + | Format="%H:%M" |
---|
| 0 | + | Disabled=1 |
---|
| 0 | + | Substitute="00:00":"--:--" |
---|
| 0 | + | |
---|
| 0 | + | [TimeStop] |
---|
| 0 | + | Measure=Calc |
---|
| 0 | + | Formula=Counter % 2 |
---|
| 0 | + | IfAboveValue=0 |
---|
| 0 | + | IfAboveAction=!execute [!RainmeterDisableMeasure Time][!RainmeterDisableMeasure TimeStop] |
---|
| 0 | + | Disabled=1 |
---|
| 0 | + | |
---|
| 0 | + | [tm-1s] |
---|
| 0 | + | MeasureName=Time |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=200 |
---|
| 0 | + | Y=3 |
---|
| 0 | + | FontColor=255,255,255,255 |
---|
| 0 | + | StringStyle=BOLD |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=RIGHT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | |
---|
| 0 | + | [tm-1] |
---|
| 0 | + | MeasureName=Time |
---|
| 0 | + | Meter=STRING |
---|
| 0 | + | X=201 |
---|
| 0 | + | Y=#tY# |
---|
| 0 | + | FontColor=#FontColor# |
---|
| 0 | + | StringStyle=BOLD |
---|
| 0 | + | FontSize=#FontSize# |
---|
| 0 | + | StringAlign=RIGHT |
---|
| 0 | + | FontFace="#FontFace#" |
---|
| 0 | + | Antialias=1 |
---|
| 0 | + | |
---|
| 0 | + | ; Notification Sections ---------------------- |
---|
| 0 | + | |
---|
| 0 | + | [PUBDATE] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=<SiteURL> |
---|
| 0 | + | UpdateRate=<UpdateRate> |
---|
| 0 | + | RegExp="(?sU)<entry>.*<(?:updated|modified)>\d{2}(\d{2})\-(\d{2})\-(\d{2})T(\d{2}):(\d{2}):(\d{2})" |
---|
| 0 | + | |
---|
| 0 | + | [YEAR] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=1 |
---|
| 0 | + | |
---|
| 0 | + | [MONTH] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=2 |
---|
| 0 | + | |
---|
| 0 | + | [DAY] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=3 |
---|
| 0 | + | |
---|
| 0 | + | [HOUR] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=4 |
---|
| 0 | + | |
---|
| 0 | + | [MINUTE] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=5 |
---|
| 0 | + | |
---|
| 0 | + | [SECOND] |
---|
| 0 | + | Measure=Plugin |
---|
| 0 | + | Plugin=Plugins\WebParser.dll |
---|
| 0 | + | Url=[PUBDATE] |
---|
| 0 | + | StringIndex=6 |
---|
| 0 | + | |
---|
| 0 | + | [CURRENT] |
---|
| 0 | + | Measure=Calc |
---|
| 0 | + | Formula=YEAR*10000000000+MONTH*100000000+DAY*1000000+HOUR*10000+MINUTE*100+SECOND |
---|
| 0 | + | |
---|
| 0 | + | [SET] |
---|
| 0 | + | Measure=Calc |
---|
| 0 | + | Formula=CURRENT-#LASTUPDATE# |
---|
| 0 | + | IfAboveValue=1 |
---|
| 0 | + | IfAboveAction=!Execute [!RainmeterSetVariable LASTUPDATE [CURRENT]]#ACTION#[!RainmeterWriteKeyValue "Variables" "LASTUPDATE" "[CURRENT]"] |
---|
| 0 | + | DynamicVariables=1 |
---|
... | |
---|