It is currently September 1st, 2024, 2:24 am
updating stuffs question...
-
- Posts: 8
- Joined: June 22nd, 2010, 6:44 am
updating stuffs question...
hi, i am trying to update some text by every hour.. basically i want something like "a quote of the day" where it changes by hours.. dont wanna do by rss feed... well i know dat i can make all text into image, n can use like a slideshow, but its way too much of work, is there any code which can update text by certain amount of time..?
-
- Developer
- Posts: 2873
- Joined: April 17th, 2009, 12:18 pm
Re: updating stuffs question...
You could use the QuotePlugin with UpdateDivider set to something like 3600 to update every hour.
-
- Posts: 8
- Joined: June 22nd, 2010, 6:44 am
Re: updating stuffs question...
Examples
n on mihir.txt, i wrote something like this
"dgfdfgdfgdgd /n
dgfgsdfsdfsfsdfs /n
fsfsdfsdfsdf /n
sfsdfdsfdsfsfaaf /n"
i tried that but its not working...
Code: Select all
[Rainmeter]
Author=Mihir
//Background=bg.png
UpdateDivider=3600
;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=
;End of added Metadata
[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=C:\Users\Mihir\Desktop\Wallpaper\mihir.txt
Subfolders=1
FileFilter=*.jpg;*.gif,*.txt
[MeterQuote]
Meter=IMAGE
X=0
Y=0
W=200
H=200
MeasureName=MeasureQuote
"dgfdfgdfgdgd /n
dgfgsdfsdfsfsdfs /n
fsfsdfsdfsdf /n
sfsdfdsfdsfsfaaf /n"
i tried that but its not working...
Last edited by Chewtoy on June 22nd, 2010, 8:05 pm, edited 1 time in total.
Reason: Use [code] tages when posting code.
Reason: Use [code] tages when posting code.
-
- Posts: 667
- Joined: April 18th, 2010, 2:16 pm
- Location: NY, USA
Re: updating stuffs question...
Try changing [MeterQuote] from Meter=Image to Meter=String
And you only want FileFilter=*.txt if you include it at all.
And you only want FileFilter=*.txt if you include it at all.
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: updating stuffs question...
UpdateDivider should be in the [MeasureQuote]-section. Not [Rainmeter].
The [MeasureQuote]-section should look something like this:
Where #File# is the path to the file, mihir.txt
The meter should be a String-meter and not an Image-meter. Look up how you write those.
http://rainmeter.net/cms/Support
The [MeasureQuote]-section should look something like this:
Code: Select all
[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#File#
UpdateDivider=3600
The meter should be a String-meter and not an Image-meter. Look up how you write those.
http://rainmeter.net/cms/Support
I don't think, therefore I'm not.
-
- Posts: 8
- Joined: June 22nd, 2010, 6:44 am
Re: updating stuffs question...
i fixed my updateDivider n Meter=String ... for some reason my txt is not showing up.... even tried to change color,font,size,autoscale n everything up its still not working... ![Sad :(](./images/smilies/ac.gif)
![Sad :(](./images/smilies/ac.gif)
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: updating stuffs question...
Code: Select all
[Rainmeter]
Author=Chewtoy
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0, 0, 0, 100
[Variables]
FontColor=255, 255, 255, 150
FontFace=Tahoma
FontSize=8
SolidColor=255, 255, 255, 80
File=#CURRENTPATH#Text.txt
;----
[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#File#
UpdateDivider=3600
;----
[quote]
Meter=String
MeasureName=Measurequote
X=2
Y=R
FontColor=#FontColor#
FontFace=#FontFace#
FontSize=#FontSize#
AntiAlias=1
Text="%1"
If that don't work for you... something is VERY strange.
I don't think, therefore I'm not.
-
- Posts: 8
- Joined: June 22nd, 2010, 6:44 am
Re: updating stuffs question...
it works fine now... thanks every1 for help... here was my plan in that txt file, there was all kind of funny horoscope created my me, they are related to money, love, health... since it randomize between money, health n love, i have three different picture for those three horoscope topic, is there any way that when money quote shows up money picture appears somewhere... sry for asking these many questions...