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

[Solved] Need help with this simple problem

General topics related to Rainmeter.
tumbleweed1993sf
Posts: 8
Joined: June 1st, 2011, 4:46 am

[Solved] Need help with this simple problem

Post by tumbleweed1993sf »

I have an RSS feed which tells me the game time/score of all Giants games. Unfortunately, though the string is sometimes too long and it ends up getting cut off like this:

Image

What simple tweak should I make to my code so that it won't get cut off?

Code: Select all

[Feed1]
Meter=STRING
X=100
Y=35
H=32
W=300
StringStyle=Bold
FontColor=0,0,0,230
FontSize=7
FontFace=Tahoma
StringAlign=Center
StringEffect=Border
FontEffectColor=0,0,0,0
Solidcolor=0,0,0,2
Text= [MeasureRSS#NUMBER1#1]
StringAlign=Right
MouseOverAction=!execute [!RainmeterSetVariable Border1 0,0,0,25][!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterSetVariable Border1 0,0,0,10][!RainmeterRedraw]
LeftMouseDownAction=!Execute ["[MeasureLink#NUMBER1#1]"]
DynamicVariables=1
ClipString=1
AntiAlias=1
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: Need help with this simple problem

Post by GHOST® »

tumbleweed1993sf wrote:I have an RSS feed which tells me the game time/score of all Giants games. Unfortunately, though the string is sometimes too long and it ends up getting cut off like this:

Image

What simple tweak should I make to my code so that it won't get cut off?

Code: Select all

[Feed1]
Meter=STRING
X=100
Y=35
H=32
W=300
StringStyle=Bold
FontColor=0,0,0,230
FontSize=7
FontFace=Tahoma
StringAlign=Center
StringEffect=Border
FontEffectColor=0,0,0,0
Solidcolor=0,0,0,2
Text= [MeasureRSS#NUMBER1#1]
StringAlign=Right
MouseOverAction=!execute [!RainmeterSetVariable Border1 0,0,0,25][!RainmeterRedraw]
MouseLeaveAction=!execute [!RainmeterSetVariable Border1 0,0,0,10][!RainmeterRedraw]
LeftMouseDownAction=!Execute ["[MeasureLink#NUMBER1#1]"]
DynamicVariables=1
ClipString=1
AntiAlias=1
[Feed1]
Meter=STRING
X=100
Y=35
H=32
W=300

Tweak ur Width ;o)
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Need help with this simple problem

Post by Seahorse »

...or remove the Clipstring=1...
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

tumbleweed1993sf
Posts: 8
Joined: June 1st, 2011, 4:46 am

Re: Need help with this simple problem

Post by tumbleweed1993sf »

Thanks to both of you! Individually when I changed the width and the ClipString, it still wasn't fixing the problem (I think because the string might have been limited already). But when I increased the x value for the string, increased the width, and removed the ClipString, it fixed the problem. Thanks :)
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: Need help with this simple problem

Post by GHOST® »

tumbleweed1993sf wrote:Thanks to both of you! Individually when I changed the width and the ClipString, it still wasn't fixing the problem (I think because the string might have been limited already). But when I increased the x value for the string, increased the width, and removed the ClipString, it fixed the problem. Thanks :)
IIRC, if you dont have clipstring set, you dont need the W \ H in the STRING Meter. Also, Height can have an FX on the W as well, if the H isnt large enough, the STRING cannot carry over to the next line, not what U wanted here for sure, but something 2 keep in mind mayB ?? ;o)
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"