It is currently May 3rd, 2024, 10:24 pm

gmail help

Get help with creating, editing & fixing problems with skins
User avatar
Scarface
Posts: 2
Joined: July 9th, 2010, 7:35 am

gmail help

Post by Scarface »

Hello guys

I have downloaded a beautiful gmail skin that fits very well in my desctop, but it doesnt show the number of unread messages. Nomally it shows the count above the unread mail.

heres my desc:



I got here the Editor File, I hope someone who knows can help me out or tell what lines I should change.

Username/Password removed in Variables. And of course i got unread mails :)
-----------------------------------------------------------------------------------------------------

Code: Select all

[Rainmeter]
Author=r3ginald
;Edited by Vick88
Update=1000

[Variables]
GMAILURL=https://mail.google.com/mail/feed/atom
GmailUsername=##
GmailPassword=##
Substitute="&":"&",""":"","&Quot;":"","<br>":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE>":"","PRE>":"","<":"","'":"'"

;--------------
       Gmail
;--------------

[MeasureGmail]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=https://#GmailUsername#:#GmailPassword#@gmail.google.com/gmail/feed/atom
RegExp="(?siU)<fullcount>(.*)</fullcount>"
Codepage=0
Download=1
UpdateRate=60
StringIndex=4


[MeasureNumber]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureGmail]
StringIndex=1
UpdateRate=1

;--------------------

[GmailIcon]
Meter=IMAGE
ImageName=gmai_l.png
X=5
Y=11
W=45
H=45
AntiAlias=1
LeftMouseDownAction=!Execute ["C:\Program Files (x86)\Mozilla Firefox\firefox.exe" "http://www.gmail.com/"][!RainmeterRedraw]

[Sep]
Meter=IMAGE
ImageName=sep.png
X=37
Y=5
W=90
H=45
AntiAlias=1

[Messages]
Meter=STRING
MeasureName=MeasureNumber
X=73
Y=18
FontColor=255,255,255
FontFace=Segoe UI
FontSize=11
StringAlign=LEFT
;StringStyle=BOLD
AntiAlias=1
Text="%1"
;Postfix=" new messages"
AntiAlias=1
AutoScale=1

[Messages2]
Meter=STRING
X=52
Y=33
FontColor=255,255,255
FontFace=Segoe UI
FontSize=8
StringAlign=LEFT
;StringStyle=BOLD
AntiAlias=1
Text="unread mail"
AntiAlias=1
AutoScale=1

;------------------

[Filter]
Meter=IMAGE
Solidcolor=0,0,0,0
X=0
Y=0
H=210
W=170

---------------------------------------------------------------------------------------------------------------
Last edited by Alex2539 on July 9th, 2010, 9:36 am, edited 1 time in total.
Reason: Please use the [hsimg][/hsimg] tags for large images and the [code][/code] tags for large amounts of code.
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: gmail help

Post by Alex2539 »

Your RegExp only has one value being saved, but your measure is trying to access the fourth string index. Because there is no fourth string index, the WebParser measure is failing, so none of the values are being returned. Unless there's another problem here I can't see, removing StringIndex=4 should fix it.
ImageImageImageImage
User avatar
Scarface
Posts: 2
Joined: July 9th, 2010, 7:35 am

Re: gmail help

Post by Scarface »

Thank you for fast answer, but that didn't solve my problem.

Maybe I do something wrong with username/password in Variables, because any gmail reader that i installed or even Enigma/... don't worked out.
I put my username/password in variables and the only function is that firefox opens my gmail (on every gmail skin)

I've searched google for many hours to find a tutorial but i havent found anything that helped me :(

Would be very nice if you can give me a link or video or something else for this.

Sorry for not using hsimg/code and my bad english.