It is currently April 27th, 2024, 12:59 am
Get help with creating, editing & fixing problems with skins
el-chucklebuck
Posts: 14 Joined: August 20th, 2010, 2:19 am
Location: Texas
Post
by el-chucklebuck » November 11th, 2010, 2:57 pm
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
Post
by poiru » November 11th, 2010, 3:08 pm
What do you have in quotes.txt?
el-chucklebuck
Posts: 14 Joined: August 20th, 2010, 2:19 am
Location: Texas
Post
by el-chucklebuck » November 11th, 2010, 3:24 pm
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
Post
by poiru » November 11th, 2010, 3:32 pm
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* )
el-chucklebuck
Posts: 14 Joined: August 20th, 2010, 2:19 am
Location: Texas
Post
by el-chucklebuck » November 11th, 2010, 3:41 pm
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!