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

RecycleManager size in context menu

$
0
0
How to automatically show the recycle bin size in KB MB GB formats in the context menu?
In the skin meter I can easily plug Text=%1B and it shows the size in the appropriate format depending on the size.
But I cannot find how to achieve the same result in the context menu. I use RecycleManager measure to retrieve the size. Can someone help me find a way of doing this?
1.PNG
2.PNG

Code:

[Rainmeter]ContextTitle4=Open Recycle BinContextAction4=[!CommandMeasure ModuleRecycleBin OpenBin]ContextTitle5=Empty Recycle Bin ([&ModuleRecycleSize:])ContextAction5=[!CommandMeasure ModuleRecycleBin EmptyBin][ModuleRecycleBin]Measure=RecycleManagerRecycleType=CountUpdateDivider=-1[ModuleRecycleSize]Measure=RecycleManagerRecycleType=SizeUpdateDivider=-1
P.s. I also cannot find the reference to the usage of "B" as in %1B.

Statistics: Posted by Active Colors — Yesterday, 4:04 pm — Replies 3 — Views 149



Viewing all articles
Browse latest Browse all 509

Trending Articles