I want to take off any characters that are exceeding the width of 200... and then put a "..." after the remaining characters. I know how to get the meter width and stuff, but do not know how to get the length and how to add a string to it(if this was any other language like JS, I could do it easily).
This is the code for it. Its in a container named . I have almost no idea how to even get the length of the string and even less on how to shorten and add stuff to it. I am a beginner at creating Rainmeter skins and would love some help!
Code: Select all
[TopPlayTitle3] Meter=String Text=%1 [%2] FontColor=255,255,255 FontSize=15 X=5 MeterStyle=TextStyle MeasureName=m3PTitle MeasureName2=m3PDiffName Container=cTopPlay3 ClipString=1 LeftMouseUpAction=[m3PURL]