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

RecycleBin string issue

$
0
0
So, I have set up a string to show on hover the Bin % - Size and number of items.:

Code:

[mBinCount]Measure=RecycleManagerRecycleType=CountSubstitute=".0":"",".00":"",".000":""IfCondition=mBinCount = 0IfTrueAction=[!SetOption 6Info Text "Empty"]IfCondition2=mBinCount = 1IfTrueAction2=[!SetOption 6Info Text "[m6Stat:%,0] % - %1#CRLF#%2 Item"]IfCondition3=mBinCount > 1IfTrueAction3=[!SetOption 6Info Text "[m6Stat:%,0] % - %1#CRLF#%2 Items"]IfConditionMode=1Disabled=#m6Stat#[mBinItems]Measure=RecycleManagerRecycleType=CountSubstitute=".0":"",".00":"",".000":""Disabled=#m6Stat#[m6Stat]Measure=RecycleManagerRecycleType=SizeSubstitute=".0":"",".00":"",".000":""MinValue=0MaxValue=(#BinSize# * 1073741824)Disabled=#6Stat#[sToolTip]Meter=StringMeterStyle=sAllText;NumOfDecimals=2;Percentual=1AutoScale=1InlineSetting=Size | 7InlinePattern=^.+ (.+)$#CRLF#^.+ (.+) / .+ (.+)$Hidden=1X=2Y=15[6Info]Meter=StringMeterStyle=sAllText | sToolTipMeasureName=m6StatMeasureName2=mBinItemsNumOfDecimals=2[6Info2]Meter=StringMeterStyle=sAllText | sToolTipMeasureName=mBinItemsAutoScale=2;NumOfDecimals=3Hidden=0
Aside from the fact the InlinePattern doesn't work, everything else does.

My issue is that where I am specifying [6Info] to show the string as stated at the top here, it shows incorrectly.
I know exactly why it shows incorrectly, but I wondered what the best approach to solve it is.
The problem is that in [6Info], MeasureName2 is used twice in the same string. It is used for the Size and number of items. But I can't have both using the same scaling with AutoScale. The BinSize requires AutoScale=1, whereas BinItems requires AutoScale=2. If I create a second string, it causes a problem on hover due to how the skin has been programmed. What I really needed was an InlineSetting of some kind that can change the AutoScale to 2 after the BinSize, so that BinItems is scaled differently from BinSize.

So what I need is something like this:

Code:

Bin% - BinSize(AutoScale=1)#CRLF#BinItems(AutoScale=2)
This also an issue with the NumOfDecimals as you can see by the code.

Hope that makes sense, I'm not the best at explaining!

Is there any way to achieve that from a single string? I've tried to add a second measure but the text placement conditional formula doesn't allow AutoScale, only division. Adding a second Meter causes a major headache with regards to how it will get implemented as everything is using #CURRENTSECTION# to display the text. Am I missing something obvious?

Thanks for your help, this is the final thing to do on this suite, so I'd like to get it finished! :D :thumbup:

Statistics: Posted by sl23 — Yesterday, 4:24 pm — Replies 7 — Views 218



Viewing all articles
Browse latest Browse all 326

Trending Articles