Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1645

Help: Rainmeter Skins • Re: StringLength issue

$
0
0
Hi,
I am Nikhi and Trying to get the length of the string from the string value like "20% of C:\ used". because based on the length of the string I want to hide.

Please find the code given below and also the error the log shows:

and below is the error logged:
Calc: "StringLength" is unknown (niv\imth\imt1\imt.ini - [MeasureHDDTextLength])

Can any one help me how to fix this.
Like the message says, there is no function in Rainmeter named StringLength. The available functions are here, and none of them operate on strings.

If you need to calculate the length of a string (in characters), the only way to do it is to use Lua. There are tricks you can use to calculate the length of a string in pixels, if that is something you need.

Statistics: Posted by SilverAzide — May 26th, 2025, 11:25 pm



Viewing all articles
Browse latest Browse all 1645

Trending Articles