It is currently October 6th, 2024, 10:05 am
JSMeter10
-
- Posts: 3
- Joined: January 2nd, 2022, 1:22 am
Re: JSMeter10
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.
-
- Developer
- Posts: 22821
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: JSMeter10
https://forum.rainmeter.net/viewtopic.php?t=39000CodeWitch 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.
-
- Posts: 3
- Joined: January 2nd, 2022, 1:22 am
Re: JSMeter10
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.
Reason: Please use code tags when posting code; it's the </> button.
-
- Rainmeter Sage
- Posts: 2742
- Joined: March 23rd, 2015, 5:26 pm
Re: JSMeter10
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/
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]
-
- Posts: 3
- Joined: January 2nd, 2022, 1:22 am
Re: JSMeter10
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)
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
URL=https://****:************@mail.google.com/gmail/feed/atom/
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]
OMG. Thank you. Can you tell I'm new at this? I finally got it to work.
-
- Posts: 8
- Joined: September 27th, 2023, 10:08 am
Re: JSMeter10
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!
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!
-
- Rainmeter Sage
- Posts: 8358
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: JSMeter10
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: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!
https://forum.rainmeter.net/viewtopic.php?t=39000#p218335
-
- Rainmeter Sage
- Posts: 16632
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: JSMeter10
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.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!
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.