It works right. Thank you. I have not checked the Extender and StrokeExtender out yet.balala wrote: ↑November 18th, 2021, 7:52 pm Unfortunately doesn't work. You can try this out, by adding the following two options to the [mRamUsed] measure, but doesn't work:Even if this is completely rough solution, and I definitely doesn't like it, here is a solution which might work. According to it, you have to set the color of the [conram] meter to blue when the removable drive is not present and to the original color when the drive is inserted.Code: Select all
[mRamUsed] ... RegExpSubstitute=1 Substitute="^0%":"0.0001"
If you want to try this out, please replace the named [conram] meter with the following one:Replace / add the following measures:Code: Select all
[conram] meter=shape shape=rectangle 0,0,80,80,50 | Extend Extender1, StrokeExtender Extender1=fill lineargradient rgrad Extender2=Fill Color 0,0,255 StrokeExtender=strokecolor 255,255,255 rgrad= 315 | 255,0,0 ; 0.2 | 0,255,0 ; 1.0 UpdateDivider=-1 container=mra
Does this work alright now?Code: Select all
[mRamTotal] Measure=Calc Formula=1 [MeasureRamTotal] Measure=FreeDiskSpace Drive=J: Total=1 IgnoreRemovable=0 IfCondition=(#CURRENTSECTION#=0) IfTrueAction=[!SetOption conram shape "rectangle 0,0,80,80,50 | Extend Extender2, StrokeExtender"][!UpdateMeter "conram"][!Redraw] IfFalseAction=[!SetOption conram shape "rectangle 0,0,80,80,50 | Extend Extender1, StrokeExtender"][!UpdateMeter "conram"][!Redraw] [mRamUsed] Measure=FreeDiskSpace Drive=J: IgnoreRemovable=0 InvertMeasure=1
It is currently April 19th, 2024, 8:01 am
Roundline, ToolTip; No?
-
- Posts: 246
- Joined: July 8th, 2021, 11:30 pm
- Location: The King's Avenue, Golden Kingdom
Re: Roundline, ToolTip; No?
You do not have the required permissions to view the files attached to this post.
the DA GALLERY For some Reason, the square root of X2 does not involve X
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Roundline, ToolTip; No?
I'm glad. Still believe it's not the best solution, however unfortunately have no a better one.
What should you have been check about them?
-
- Posts: 246
- Joined: July 8th, 2021, 11:30 pm
- Location: The King's Avenue, Golden Kingdom
Re: Roundline, ToolTip; No?
I meant that I have not used them before.
the DA GALLERY For some Reason, the square root of X2 does not involve X
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Roundline, ToolTip; No?
Oh, I see. Get used to use them, can many times easier the work with Shape meters.
-
- Posts: 246
- Joined: July 8th, 2021, 11:30 pm
- Location: The King's Avenue, Golden Kingdom
Re: Roundline, ToolTip; No?
Nice. I will do that.
the DA GALLERY For some Reason, the square root of X2 does not involve X