It is currently February 25th, 2021, 10:08 pm

GMailNotify 2.0

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
jsmorley
Developer
Posts: 21546
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

GMailNotify 2.0

Post by jsmorley »

Checks GMail Inbox

- Flashes logo if there is a "recent" email in the Inbox
- Set #RecentMinutes# to control "recent"
- Fly-out notification on brand new GMail.
- Click icon to open GMail and dismiss flyout
- Click panel to dismiss flyout
- Set #DelaySeconds# for automatic dismissal.
- Will not activate if a full-screen application is running.
GMailNotify_2.0.rmskin
Requires the latest 4.0 of Rainmeter, and also requires Windows 10.

Fly-out notification - Click to Animate:
gif.gif
ToolTip:
GmailNotifyTip.jpg
Flash on "recent" email in Inbox:
flash.gif
This uses the included:

SysColor Plugin from Brian:
https://forum.rainmeter.net/viewtopic.php?p=80787#p80787
To get and use the Windows 10 "accent color" for the fly-out panel

IsFullScreen Plugin from JSMorley:
https://forum.rainmeter.net/viewtopic.php?p=122046#p122046
To detect if a full screen (like a game or video) application is running, and prohibiting the fly-out if so.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 21546
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: GMailNotify 2.0

Post by jsmorley »

New version 2.0 completely re-works the cosmetics of the main skin, and adds some new functionality. (Ok, new bells and whistles really...)
User avatar
RainyKitsune
Posts: 1
Joined: September 4th, 2016, 11:45 pm

Re: GMailNotify 2.0

Post by RainyKitsune »

Hey, thanks for making this! I usually dislike a lot of GMail stuff because of the unnecessary clutter it adds, and this is small and functional enough for my needs.

Quick question, is there any way to add a second account to the skin to display both? I have separate E-Mails for separate purposes.
User avatar
jsmorley
Developer
Posts: 21546
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: GMailNotify 2.0

Post by jsmorley »

RainyKitsune wrote:Hey, thanks for making this! I usually dislike a lot of GMail stuff because of the unnecessary clutter it adds, and this is small and functional enough for my needs.

Quick question, is there any way to add a second account to the skin to display both? I have separate E-Mails for separate purposes.
The best way I have found is to use a custom context menu in the skin to allow you to change the user account name and password with a right click of the skin.

Without getting all the way into it, although I can if you need it, it more or less something like:

Code: Select all

[Rainmeter]
RightMouseUpAction=[!SkinCustomMenu]
ContextTitle=Current: #GMailLabel#
ContextAction=[]
ContextTitle2=----
ContextAction2=[]
ContextTitle3=Change to: #GMailLabel1#
ContextAction3=[!Refresh]
ContextTitle4=Change to: #GMailLabel2#
ContextAction4=[!SetVariable GMailID """#GMailID2#"""][!SetVariable GMailPassword """#GMailPassword2#"""][!SetVariable GMailLabel """#GMailLabel2#"""][!CommandMeasure MeasureMail "Update"]
ContextTitle5=Open @Includes folder
ContextAction5=["#@#"]
ContextTitle6=----
ContextAction6=[]
ContextTitle7=More actions ...
ContextAction7=[!SkinMenu]

[Variables]
@Include=#@#GMailNotify.inc
GMailID=#GMailID1#
GMailPassword=#GMailPassword1#
GMailLabel=#GMailLabel1#

...

With the actual variables for the two accounts in the @Include file.

I use this on a variant of this skin that I use on my system.
1.jpg
You do not have the required permissions to view the files attached to this post.
Snayff
Posts: 2
Joined: January 3rd, 2017, 10:02 pm

Re: GMailNotify 2.0

Post by Snayff »

Thank you very much for this! And for the awesome JSMeterVII!

I am struggling to get the gmail account to connect. I have tried the normal password and the application password but it just sits on "checking". Any advice you can offer?

Any help would be greatly appreciated!
User avatar
CyberTheWorm
Posts: 745
Joined: August 22nd, 2016, 11:32 pm
Location: Surrey, B.C., Canada

Re: GMailNotify 2.0

Post by CyberTheWorm »

See if you have @gmail.com after your account name, if so remove that.
The only source of knowledge is experience. Albert Einstein
Deviant Art Page
Snayff
Posts: 2
Joined: January 3rd, 2017, 10:02 pm

Re: GMailNotify 2.0

Post by Snayff »

Fantastic, thank you very much! That was exactly it!
DanielDJY
Posts: 1
Joined: January 12th, 2017, 9:21 am

Re: GMailNotify 2.0

Post by DanielDJY »

I set my account information, but it doesn't work. Can you help me?
User avatar
atkinsjr
Posts: 1
Joined: March 11th, 2017, 9:39 pm

Re: GMailNotify 2.0

Post by atkinsjr »

It just keeps saying checking.... Please help I think I have the script correct

Thanks in advance

Jason
User avatar
jsmorley
Developer
Posts: 21546
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: GMailNotify 2.0

Post by jsmorley »

atkinsjr wrote:It just keeps saying checking.... Please help I think I have the script correct

Thanks in advance

Jason
That is generally going to mean that you either have the wrong Google user id or password, or you have two-step authentication set up in Google / GMail and need to set up an Application ID for Rainmeter.