It is currently April 23rd, 2024, 6:15 am

random quotes issue

Get help with creating, editing & fixing problems with skins
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

random quotes issue

Post by el-chucklebuck »

OK. I made this random quote skin. It refreshes every half hour, or when you click on it. However, after you click it a few times, it just comes up blank. What's going on?

Code: Select all

;=================================================
; Rainmeter configuration file
; Updated November 11, 2010
;=================================================

;[BEGIN CONFIG FILE]==============================

[Rainmeter]
Author=El-Chucklebuck
Update=180000

[Metadata]
Name=Random Quotes
Config=random-qoutes
Description=El-Chucklebuck Quotes
Version=1.0
Tags= Quote | Quotes 
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Variant=0

[Variables]

[Measures]

[MeasureQuote]
Measure=Plugin
Plugin=Plugins/QuotePlugin.dll
PathName=quotes.txt
Separator=*

[MeterQuote]
MeasureName=MeasureQuote
Meter=STRING
FontColor=255,255,255,255
FontFace="Trebuchet MS"
FontSize=16
StringEffect=SHADOW
StringAlign=Left
StringStyle=NORMAL
ClipString=1
X=0
Y=0
W=500
H=175
AntiAlias=1
LeftMouseDownAction=!RainmeterRefresh
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: random quotes issue

Post by poiru »

What do you have in quotes.txt?
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

Re: random quotes issue

Post by el-chucklebuck »

yeah, like it says. lol

Code: Select all

this is*
just*
random*
nonsense*
until*
i finish*
the skin*
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: random quotes issue

Post by poiru »

1) Remove Separator=*
2) Remove the asterisks (*) from quotes.txt

Done (the default behavior is to separate entries by new line).

Alternatively, you could keep your skin as it is, but move the asterisks in quotes.txt to the front (e.g. *this is instead of this is*)
User avatar
el-chucklebuck
Posts: 14
Joined: August 20th, 2010, 2:19 am
Location: Texas

Re: random quotes issue

Post by el-chucklebuck »

Removing the separator string did the trick. I was worried about the author info after the quote, but I'll just mess with the space between the quote and the author so it appends to the next line.

Thanks!