It is currently April 19th, 2024, 8:01 am

Roundline, ToolTip; No?

Get help with creating, editing & fixing problems with skins
User avatar
David8192
Posts: 246
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Roundline, ToolTip; No?

Post by David8192 »

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:

Code: Select all

[mRamUsed]
...
RegExpSubstitute=1
Substitute="^0%":"0.0001"
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.
If you want to try this out, please replace the named [conram] meter with the following one:

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
Replace / add the following measures:

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
Does this work alright now?
It works right. Thank you.
fin.JPG
fine.JPG
I have not checked the Extender and StrokeExtender out yet.
You do not have the required permissions to view the files attached to this post.
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Roundline, ToolTip; No?

Post by balala »

David8192 wrote: November 18th, 2021, 8:56 pm It works right.
I'm glad. Still believe it's not the best solution, however unfortunately have no a better one.
David8192 wrote: November 18th, 2021, 8:56 pm I have not checked the Extender and StrokeExtender out yet.
What should you have been check about them?
User avatar
David8192
Posts: 246
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Roundline, ToolTip; No?

Post by David8192 »

balala wrote: November 18th, 2021, 9:07 pm 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?
I meant that I have not used them before.
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Roundline, ToolTip; No?

Post by balala »

David8192 wrote: November 18th, 2021, 10:59 pm I meant that I have not used them before.
Oh, I see. Get used to use them, can many times easier the work with Shape meters.
User avatar
David8192
Posts: 246
Joined: July 8th, 2021, 11:30 pm
Location: The King's Avenue, Golden Kingdom

Re: Roundline, ToolTip; No?

Post by David8192 »

balala wrote: November 19th, 2021, 4:39 pm Oh, I see. Get used to use them, can many times easier the work with Shape meters.
Nice. I will do that.
the DA GALLERY 8-) For some Reason, the square root of X2 does not involve X