It is currently October 3rd, 2024, 11:30 pm

Gmail Image Issue

Get help with creating, editing & fixing problems with skins
DumbDude1994
Posts: 43
Joined: November 12th, 2009, 2:04 am

Gmail Image Issue

Post by DumbDude1994 »

I'm trying to make a Gmail skin that when I have an Email it loads one image and when I don't have an email it shows another. Right now I can display text when I don't have any and when I do have one it puts the title of the Email. I know it can be done because I have a weather skin that does something similar but I can't understand any of the code. If someone can show me sample code or a sample skin that does it it would be helpful.
poiru
Developer
Posts: 2873
Joined: April 17th, 2009, 12:18 pm

Re: Gmail Image Issue

Post by poiru »

The Gnometer Gmail skin does this, check it out :)
DumbDude1994
Posts: 43
Joined: November 12th, 2009, 2:04 am

Re: Gmail Image Issue

Post by DumbDude1994 »

Thanks all I had to do was add this
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter IconNew][!RainmeterHideMeter IconNoNew]
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterShowMeter IconNoNew][!RainmeterHideMeter IconNew]

and this
[IconNew]
Meter=IMAGE
ImageName=New.png
LeftMouseUpAction=!Execute [www.google.com/mail]

[IconNoNew]
Meter=IMAGE
ImageName=NoNew.png
LeftMouseUpAction=!Execute [www.google.com/mail]