It is currently March 28th, 2024, 2:14 pm

JSMeter10

A package of skins with a "theme" or by a single author
User avatar
CodeWitch
Posts: 3
Joined: January 2nd, 2022, 1:22 am

Re: JSMeter10

Post by CodeWitch »

I love this suite. I have been able to get everything to work except the gmail skin. I have the proper user and password set up because when I click on the skin, it opens my account online. What I can't get to work is for it to show me how many unread emails I have. It just shows "searching" infinitely. Any assistance you can provide would be appreciated. Thank you.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: JSMeter10

Post by jsmorley »

CodeWitch wrote: January 2nd, 2022, 1:29 am I love this suite. I have been able to get everything to work except the gmail skin. I have the proper user and password set up because when I click on the skin, it opens my account online. What I can't get to work is for it to show me how many unread emails I have. It just shows "searching" infinitely. Any assistance you can provide would be appreciated. Thank you.
https://forum.rainmeter.net/viewtopic.php?t=39000
User avatar
CodeWitch
Posts: 3
Joined: January 2nd, 2022, 1:22 am

Re: JSMeter10

Post by CodeWitch »

I still can't seem to get it to work. This is the code I have. For the Gmail ID, I have used both with and without the gmail.com at the end, and neither works. I have also used an app password because of dual-step authentication.

Code: Select all

[MeasureMail]
Measure=WebParser
Flags=Resync | NoCookies
URL=https://#mj@gmail.com#:#************#@mail.google.com/gmail/feed/atom/
RegExp="(?siU)(.*)$"
UpdateRate=120
DecodeCharacterReference=1
DynamicVariables=1
FinishAction=[!UpdateMeasure MeasureScript]
Last edited by SilverAzide on January 2nd, 2022, 10:35 pm, edited 1 time in total.
Reason: Please use code tags when posting code; it's the </> button.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm
Contact:

Re: JSMeter10

Post by SilverAzide »

CodeWitch wrote: January 2nd, 2022, 10:28 pm I still can't seem to get it to work. This is the code I have. For the Gmail ID, I have used both with and without the gmail.com at the end, and neither works. I have also used an app password because of dual-step authentication.
I think you might have misunderstood the instructions. You don't need the "#" signs unless you are using variables to hold your username/password; the sample code assumes you are. Since you are hard-coding the URL, you need to use a valid string (i.e., remove the hashes)

Code: Select all

URL=https://****:************@mail.google.com/gmail/feed/atom/
To use variables as described in the post, use this (but check the skin to see if they are already defined first):

Code: Select all

[Variables]
GMailID=<your email>
GMailPassword=<your app password>

...

[MeasureMail]
Measure=WebParser
Flags=Resync | NoCookies
URL=https://#GMailID#:#GMailPassword#@mail.google.com/gmail/feed/atom/
RegExp="(?siU)(.*)$"
UpdateRate=120
DecodeCharacterReference=1
DynamicVariables=1
FinishAction=[!UpdateMeasure MeasureScript]
User avatar
CodeWitch
Posts: 3
Joined: January 2nd, 2022, 1:22 am

Re: JSMeter10

Post by CodeWitch »

SilverAzide wrote: January 2nd, 2022, 10:32 pm I think you might have misunderstood the instructions. You don't need the "#" signs unless you are using variables to hold your username/password; the sample code assumes you are. Since you are hard-coding the URL, you need to use a valid string (i.e., remove the hashes)

Code: Select all

URL=https://****:************@mail.google.com/gmail/feed/atom/
To use variables as described in the post, use this (but check the skin to see if they are already defined first):

Code: Select all

[Variables]
GMailID=<your email>
GMailPassword=<your app password>

...

[MeasureMail]
Measure=WebParser
Flags=Resync | NoCookies
URL=https://#GMailID#:#GMailPassword#@mail.google.com/gmail/feed/atom/
RegExp="(?siU)(.*)$"
UpdateRate=120
DecodeCharacterReference=1
DynamicVariables=1
FinishAction=[!UpdateMeasure MeasureScript]

:rofl: :rofl: :rofl: OMG. Thank you. Can you tell I'm new at this? I finally got it to work.
George Mi
Posts: 8
Joined: September 27th, 2023, 10:08 am

Re: JSMeter10

Post by George Mi »

Hi guys.
I would like some help!
I tried everything, including what is described here, but none of the email icons indicate anything. I entered the password and username correctly several times. What could be my problem??? Can't it be that my firewall doesn't allow the program? I already set it up.
Thank you very much if anyone can help!

Image
User avatar
Yincognito
Rainmeter Sage
Posts: 7022
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: JSMeter10

Post by Yincognito »

George Mi wrote: September 27th, 2023, 10:10 am Hi guys.
I would like some help!
I tried everything, including what is described here, but none of the email icons indicate anything. I entered the password and username correctly several times. What could be my problem??? Can't it be that my firewall doesn't allow the program? I already set it up.
Thank you very much if anyone can help!

Image
Personally, I don't use email featured skins at all, but apparently a potentially related issue has been recently encountered by someone else, see the discussion here:
https://forum.rainmeter.net/viewtopic.php?t=39000#p218335
User avatar
balala
Rainmeter Sage
Posts: 16109
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: JSMeter10

Post by balala »

George Mi wrote: September 27th, 2023, 10:10 am Hi guys.
I would like some help!
I tried everything, including what is described here, but none of the email icons indicate anything. I entered the password and username correctly several times. What could be my problem??? Can't it be that my firewall doesn't allow the program? I already set it up.
Thank you very much if anyone can help!

Image
Follow the link posted by Yincognito above. There I described exactly what did I do, to get the once working, but in meantime stopped skin, to work again. It's a Google related setting you have to do.
Please let me know if you succeeded into getting your skin(s) to work. Hope you did get it, but would be extremely curious if you indeed did.
Post Reply