What I would like to achieve now is to add a new context menu option, right below the "empty Bin" one, which listed the count and size of deleted items. So far, I haven't been able to find a working way to format the file size. Is such a feat impossible?
Recycle Bin.ini
Code: Select all
[Metadata]
Version = 1.0
Description = Recycle Bin icon with custom contextual menu
Author = MetalTxus
License = Creative Commons BY-NC 3.0
[Metadata]
Version = 1.0
Description = Recycle Bin icon with custom contextual menu
Author = MetalTxus
License = Creative Commons BY-NC 3.0
[Rainmeter]
Update = 1000
ContextTitle = Open Recycle Bin
ContextAction = [!CommandMeasure MeasureCount "OpenBin"]
ContextTitle2=Empty Recycle Bin
ContextAction2=[!CommandMeasure MeasureCount "EmptyBin"]
ContextTitle3=----
ContextTitle4=[MeasureCount] file(s), [MeasureSize]
ContextAction4=[]
ContextTitle5=Skin Settings
ContextAction5=[!SkinMenu]
[MeasureCount]
Measure = Plugin
Plugin = RecycleManager.dll
RecycleType = Count
IfBelowValue = 1
IfBelowAction = [!SetOption ImageTrash ImageName "#@#icons/Recycle Bin (empty).png"]
IfAboveValue = 0
IfAboveAction = [!SetOption ImageTrash ImageName "#@#icons/Recycle Bin (full).png"]
OnUpdateAction = [!Redraw]
[MeasureSize]
Measure = Plugin
Plugin = RecycleManager.dll
RecycleType = Size
[ImageTrash]
Meter = Image
ImageName = #@#icons/Recycle Bin (full).png
ImageAlpha = 204
LeftMouseUpAction = [!CommandMeasure MeasureCount "OpenBin"]
MiddleMouseUpAction = [!SkinMenu]
RightMouseUpAction = [!SkinCustomMenu]