Okay, so, I'm completely new to this and I wanted to know how I could get some text that could say for example,
"The date is xx/xx/xx." in print on the desktop. Please forgive me for using incorrect terminology, as I said, I am new.
Maybe something along the lines of the attached image.
It is currently September 16th, 2024, 8:41 pm
I want text.
-
- Posts: 2
- Joined: May 31st, 2010, 2:10 am
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: I want text.
It should look something like this.
Code: Select all
[msTime]
Measure=Time
Format=%#H:&M
[msHour]
Measure=Time
Format=%#I
[msAP]
Measure=Time
Format=%p
Substitute="AM":"1","PM":"2"
[msAmPm]
Measure=Calc
Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3)
Substitute="1":"Morning","2":"Afternoon","3":"Evening"
[msWeek]
Measure=Time
Format=%w
Substitute="0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"
[msDay]
Measure=Time
Format=%d
[msDayPost]
Measure=Calc
Formula=(msDay=1) || (msDay=21) || (msDay=31) ? 1 : (msDay=3 ? 2 : 3)
Substitute="1":"st","2":"rd","3":"th"
[msYear]
Measure=Time
Format=%Y
[msMonth]
Measure=Time
Format=%m
Substitute="10":"October","11":"November","12":"December","1":"January","2":"February","3":"March","4":"April","5":"May","6":"June","7":"July","8":"August","9":"September"
[mtString]
Meter=String
MeasureName=msTime
MeasureName2=msAmPm
MeasureName3=msWeek
MeasureName4=msDay
MeasureName5=msDayPost
MeasureName6=msMonth
MeasureName7=msYear
Text="The time is %1 in the %2#CRLF#on %3, the %4%5 of %6.#CRLF#The year is %7, and everything is going to be alright."
StringAlign=Center
X=100
StringCase=Upper
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 2
- Joined: May 31st, 2010, 2:10 am
Re: I want text.
What exactly do I do with that?
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: I want text.
Put it into a skin file....
I suggest you read everything Here.
If you're still clueless after reading that, then ask for more help.
I suggest you read everything Here.
If you're still clueless after reading that, then ask for more help.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 2
- Joined: May 31st, 2010, 8:09 pm
Re: I want text.
Ok I'm having a problem where it's saying Evening no matter what time of day it is. I'm really new to Rainmeter and I don't understand a lot of the perl scripting that's going on. Here's my modified code from your example...
msAP and msAMPM are where the problem is
If I had to guess I'm thinking Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3) means
"if msAP=1 then use 1, if msAP=2 and msHour is less than 18 then use 2, otherwise use 3."
for some reason it's skipping over 1 and 2 and going straight to 3 everytime
Code: Select all
[Rainmeter]
Update=1000
[msTime]
Measure=Time
Format=%I:%M
[msHour]
Measure=Time
Format=%#I
[msAP]
Measure=Time
Format=%p
Substitute="AM":"1","PM":"2"
[msAmPm]
Measure=Calc
Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3)
Substitute="1":"morning","2":"afternoon","3":"evening"
[msAmPmAgain]
Measure=Calc
Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3)
Substitute="1":"great day","2":"fine afternoon","3":"good night"
[msWeek]
Measure=Time
Format=%w
Substitute="0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"
[msDay]
Measure=Time
Format=%d
[msDayPost]
Measure=Calc
Formula=(msDay=1) || (msDay=21) || (msDay=31) ? 1 : (msDay=3 ? 2 : 3)
Substitute="1":"st","2":"rd","3":"th"
[msYear]
Measure=Time
Format=%Y
[msMonth]
Measure=Time
Format=%m
Substitute="10":"October","11":"November","12":"December","01":"January","02":"February","03":"March","04":"April","05":"May","06":"June","07":"July","08":"August","09":"September"
[msRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url="http://newsrss.bbc.co.uk/rss/newsonline_world_edition/livestats/most_read/rss.xml"
UpdateRate=1000
RegExp="(?siU)<title>(.+)</title>(.+)<item(.+)<title>(.+)</title>"
StringIndex=4
FinishAction=!RainmeterRedraw
[mtString]
Meter=String
MeasureName=msTime
MeasureName2=msAmPm
MeasureName3=msWeek
MeasureName4=msDay
MeasureName5=msDayPost
MeasureName6=msMonth
MeasureName7=msYear
MeasureName8=msAmPmAgain
MeasureName9=msRSS
FontFace="Helvetica"
FontSize=20
Text="Good %2, Mr. Coleman.#CRLF# The time is %1 on a %3, the %4%5 of %6, %7.#CRLF#The top news story at the moment is...#CRLF#%9#CRLF#Have a %8, sir."
StringAlign=Center
AntiAlias=1
X=500
If I had to guess I'm thinking Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3) means
"if msAP=1 then use 1, if msAP=2 and msHour is less than 18 then use 2, otherwise use 3."
for some reason it's skipping over 1 and 2 and going straight to 3 everytime
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: I want text.
I mades a couple mistakes. Going real fast is not a good thing for me.
The fixed original:
By the way, it's not perl script, but you did read it right.
The fixed original:
Code: Select all
[Rainmeter]
Author=Smurfier
Update=1000
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=
Preview=
[msTime]
Measure=Time
Format=%#I:%M
[msHour]
Measure=Time
Format=%#H
[msAP]
Measure=Time
Format=%p
Substitute="AM":"1","PM":"2"
[msAmPm]
Measure=Calc
Formula=(msAP=1) ? 1 : ((msAP=2) && (msHour<18) ? 2 : 3)
Substitute="1":"Morning","2":"Afternoon","3":"Evening"
[msWeek]
Measure=Time
Format=%w
Substitute="0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"
[msDay]
Measure=Time
Format=%d
[msDayPost]
Measure=Calc
Formula=(msDay=1) || (msDay=21) || (msDay=31) ? 1 : (msDay=3 ? 2 : 3)
Substitute="1":"st","2":"rd","3":"th"
[msYear]
Measure=Time
Format=%Y
[msMonth]
Measure=Time
Format=%#m
Substitute="10":"October","11":"November","12":"December","1":"January","2":"February","3":"March","4":"April","5":
"May","6":"June","7":"July","8":"August","9":"September"
[mtString]
Meter=String
MeasureName=msTime
MeasureName2=msAmPm
MeasureName3=msWeek
MeasureName4=msDay
MeasureName5=msDayPost
MeasureName6=msMonth
MeasureName7=msYear
Text="The time is %1 in the %2#CRLF#on %3, the %4%5 of %6.#CRLF#The year is %7, and everything is going to be
alright."
StringAlign=Center
FontColor=255,255,255,255
X=200
StringCase=Upper
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 2
- Joined: May 31st, 2010, 8:09 pm
Re: I want text.
what did you change? I don't see any difference and it's still always going straight to evening
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: I want text.
That's strange. We'll just have to eliminate the msAP measure.
I had made a change to msTime and msHour. I got the hour codes mixed up. I also added an almost transparent background in order to make it easier to click on.
Code: Select all
[Rainmeter]
Author=Smurfier
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=
Preview=
[msTime]
Measure=Time
Format=%#I:%M
[msHour]
Measure=Time
Format=%#H
[msAmPm]
Measure=Calc
Formula=msHour<11 ? 1 : (msHour<18 ? 2 : 3)
Substitute="1":"Morning","2":"Afternoon","3":"Evening",".0":""
[msWeek]
Measure=Time
Format=%w
Substitute="0":"Sunday","1":"Monday","2":"Tuesday","3":"Wednesday","4":"Thursday","5":"Friday","6":"Saturday"
[msDay]
Measure=Time
Format=%#d
[msDayPost]
Measure=Calc
Formula=(msDay=1) || (msDay=21) || (msDay=31) ? 1 : (msDay=3 ? 2 : 3)
Substitute="1":"st","2":"rd","3":"th",".0":""
[msYear]
Measure=Time
Format=%Y
[msMonth]
Measure=Time
Format=%#m
Substitute="10":"October","11":"November","12":"December","1":"January","2":"February","3":"March","4":"April","5":"May","6":"June","7":"July","8":"August","9":"September"
[mtString]
Meter=String
MeasureName=msTime
MeasureName2=msAmPm
MeasureName3=msWeek
MeasureName4=msDay
MeasureName5=msDayPost
MeasureName6=msMonth
MeasureName7=msYear
Text="The time is %1 in the %2#CRLF#on %3, the %4%5 of %6.#CRLF#The year is %7, and everything is going to be alright."
StringAlign=Center
FontColor=255,255,255,255
X=200
StringCase=Upper
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 12
- Joined: May 20th, 2010, 11:00 pm
Re: I want text.
Where do I find the dock icons in the screenshot? Namely, the one for "Games"... I've been looking everrywhere for the set to no avail...