It is currently May 17th, 2024, 6:22 pm
Using the gnometer GMAIL...
-
- Posts: 4
- Joined: September 21st, 2010, 9:30 pm
Using the gnometer GMAIL...
Is there any way i could edit the Gnometer\gmail to play a sound when i have new mail? Like a simple small sound? i have a sound I'd like to use.. (:) Thanks for reading. Hopefully someone can help..
[url=http://forums.World-of-Frags.com][img]http://spinneyweb.world-of-frags.com/Signatures/number22222.png[/img][/url]
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Using the gnometer GMAIL...
Yes. Sort of.
Take a look at this: http://rainmeter.net/cms/Bangs_beta
So unless you come up with some superforumla or somethings, it will play when you have unread mail, but it won't see if it's new or not.
Take a look at this: http://rainmeter.net/cms/Bangs_beta
So unless you come up with some superforumla or somethings, it will play when you have unread mail, but it won't see if it's new or not.
I don't think, therefore I'm not.
-
- Posts: 4
- Joined: September 21st, 2010, 9:30 pm
Re: Using the gnometer GMAIL...
I, myself am not a coder, so i am already a little confused on that answer.. Please elaborate on a "superformula"?Chewtoy wrote:Yes. Sort of.
Take a look at this: http://rainmeter.net/cms/Bangs_beta
So unless you come up with some superforumla or somethings, it will play when you have unread mail, but it won't see if it's new or not.
So, if i use that then it will replace the "seeing if its new" and play a song.. this.. makes no sense to me as to why it would do one and not the other?
[url=http://forums.World-of-Frags.com][img]http://spinneyweb.world-of-frags.com/Signatures/number22222.png[/img][/url]
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Using the gnometer GMAIL...
Unless you create something that can check what mail you had before (keep in mind that it only looks at unread mail), it will play the sound as long as you have unread mail. So even if it has played a sound for an unread mail, and you decide you don't want to read it and leave it in the inbox, rainmeter will play the sound again, even though you already know you got mail.
Get it?
Say you got a formula like this
[MeasureUnreadMailsAndPlaySound]
Measure=Calc
Formula=[GetMailCount] > 0 ? 1 : 0
IfEqualValue=1
IfEqualAction=!Execute [Play #CurrentPath#Sound.wav]
This has no way of knowing whether the number it's reading is for something it's already checked, as long as you have unread mail in you inbox, it will play the sound.
Get it?
Say you got a formula like this
[MeasureUnreadMailsAndPlaySound]
Measure=Calc
Formula=[GetMailCount] > 0 ? 1 : 0
IfEqualValue=1
IfEqualAction=!Execute [Play #CurrentPath#Sound.wav]
This has no way of knowing whether the number it's reading is for something it's already checked, as long as you have unread mail in you inbox, it will play the sound.
I don't think, therefore I'm not.
-
- Posts: 4
- Joined: September 21st, 2010, 9:30 pm
Re: Using the gnometer GMAIL...
Ahh I'm tracking.. ok thank you, I'll just leave it as it then. Thanks for the help.
[url=http://forums.World-of-Frags.com][img]http://spinneyweb.world-of-frags.com/Signatures/number22222.png[/img][/url]