It is currently April 27th, 2024, 11:10 am

Mail Config

Get help with creating, editing & fixing problems with skins
czar86
Posts: 4
Joined: March 16th, 2011, 11:00 pm

Mail Config

Post by czar86 »

Is there any way to show new messages but with text, I mean instead of this "1 new message" to look like this "one new message"

I appreciate any help!
User avatar
Falconer
Posts: 115
Joined: August 12th, 2009, 4:10 pm
Location: Behind you!

Re: Mail Config

Post by Falconer »

Hello czar86, and welcome to the forums! :welcome:

One way might be to use a Substitute line on whatever Measure is returning the unread count.
That page of the manual: http://rainmeter.net/cms/Measures-GeneralSettings

Basically, like so:

Code: Select all

Substitute="1":"one","2:"two","3":"three", ...
This method can start to break down when you get higher, multi-digit numbers though. I'd play around with it and see how it goes.

Hope that helps!
czar86
Posts: 4
Joined: March 16th, 2011, 11:00 pm

Re: Mail Config

Post by czar86 »

Thanx for the welcome!!

So if my meter says:

[Number]
Meter=STRING
MeasureName=MeasureNumber
X=16
Y=5
FontColor=ffffff
FontSize=15
FontFace=Swis721 Cn BT D-Type
StringAlign=Center
StringStyle=BOLD
AntiAlias=1
Text="%1" --------------> (this is the one that keep the count and print the number)

Where should I use substitute?

Thanx in advance
User avatar
Falconer
Posts: 115
Joined: August 12th, 2009, 4:10 pm
Location: Behind you!

Re: Mail Config

Post by Falconer »

The substitute has to be applied to the measure, so you would add the Substitute line under the [MeasureNumber] section.
czar86
Posts: 4
Joined: March 16th, 2011, 11:00 pm

Re: Mail Config

Post by czar86 »

I figure out how to do it thanx!!!, now I have another question it´s possible to substitute the year with text like two thousand eleven or something like that?

Thanx in advance
User avatar
santa_ryan
Posts: 397
Joined: June 22nd, 2010, 4:11 am

Re: Mail Config

Post by santa_ryan »

It would be the same concept

Substitute="2011":"Two Thousand Eleven"
I have three rules when I'm trying to help you.
  • Don't get mad when you don't understand something
  • Be VERY specific with what you ask for.
    The more specific you are, the higher the quality of support you receive.
  • Do not just copy and paste what I put in examples and come back saying it doesn't work.
    It does work, but I purposely left blanks that you need to fill for your specific needs.
czar86
Posts: 4
Joined: March 16th, 2011, 11:00 pm

Re: Mail Config

Post by czar86 »

santa_ryan wrote:It would be the same concept

Substitute="2011":"Two Thousand Eleven"
Really? ummm thanx again :P