I'm now a bit confused myself. If you are using just one skin, and it is checking only one account, then I don't get the issue.
In any case you have the variables backwards and one problem with StringIndex is all. See my edits to your code.
GMAILURL=https://mail.google.com/mail/feed/atom ;This line is pointless. You are never using this variable and don't need it.
Substitute="&":"&",""":"","&Quot;":"","<br>":"","![CDATA[":"","]]":"","...":"","<":"",">":"","/PRE>":"","PRE>":"","<":"","'":"'" ;Not needed. This skin just returns a number, and you are never using the variable in any case.
UpdateRate=60 ;See below...
StringIndex=1 ;You are returning only one element, the "count". Never ever going to get to a StringIndex of 4 with this measure.
That will check the count of new mails for the account FrodoBaggins@Gmail.com
, and only that account, and will always display the count for only that account. There is no way it can access any other GMail account you may have. What happens when you launch your browser is of no relevance. THAT will go to whatever account you are currently logged into in your browser, based on a cookie that GMail will give it. Nothing to do with Rainmeter.
I was sorta assuming you wanted to check two accounts in one skin, and that it was getting confused about which account is which. Just for future reference, that can be done like this:
Code: Select all
Text=#Account1ID# has %1 New Mails
Text=#Account2ID# has %1 New Mails
By the way, unless your Windows is set to some character set other than English, This line on the measure:
Is pointless as the default is "0". You would only set it if you needed Kanji or Cyrillic or some other character set, and it would never need to be set to "0".
Also, given that GMail has no image or anything to download when you are getting the "count", this line is pointless:
And finally, this line:
Seems a bit aggressive to me. Since you have the overall skin set to Update=1000 (update once a second) then setting WebParser to check your mail at an UpdateRate of 60 (60ms X 1000ms = once a minute) is going to use computer and network resources in a way that may not make sense. Nothing technically wrong with it, but do you really want to go out and check your mail every minute? I'd be tempted to make it 300 (5 minutes) or even 600 (10 minutes).