It is currently August 14th, 2020, 10:43 am

Hiding an image when a drive is disconnected

Help with creating, editing & fixing problems with skins
User avatar
sl23
Posts: 411
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Hiding an image when a drive is disconnected

Post by sl23 »

When I read your fix, I wondered, would it be easier to monitor and Disable/Pause the Measure(s) required to measure the Total Space?
not sure what is best? I looked at the manual and found the Disable and Pause Bangs.

So, something like Monitor [mETotal] if=0 Disable it, but then I don't know how you'd monitor when this changed? Just curious about this that's all. Maybe have two Measures to monitor mETotal. The current one contains the info to display image and the IfCondtions the other, [mETotal2] To monitor if the value changed?

Does that make sense?

I might look into that to see if it works, just out of curiosity.
User avatar
balala
Rainmeter Sage
Posts: 11216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hiding an image when a drive is disconnected

Post by balala »

I'm not not gonna provide more help / reply for the next two weeks, because I started my holiday, so will be back after August 30.
Sorry...
User avatar
sl23
Posts: 411
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Hiding an image when a drive is disconnected

Post by sl23 »

That's ok, you've done so much, sorry if I ask too much! I really appreciate all your help, you've been a fantastic source of knowledge and help :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 11216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hiding an image when a drive is disconnected

Post by balala »

sl23 wrote: August 16th, 2019, 4:18 pm That's ok, you've done so much, sorry if I ask too much! I really appreciate all your help, you've been a fantastic source of knowledge and help :thumbup:
Don't worry, you don't ask much at all and I help with pleasure whenever I can, but as said for the next two weeks this won't gonna happen. But in meantime probably someone here on the forum will help you.
And thanks for the kind words.
User avatar
sl23
Posts: 411
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Hiding an image when a drive is disconnected

Post by sl23 »

You're most welcome. Enjoy your break ;-)
User avatar
sl23
Posts: 411
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Hiding an image when a drive is disconnected

Post by sl23 »

Btw, I also solved the Refresh button issue by removing the image meter and using a shape meter instead...

Code: Select all

[bRefresh]
Meter=Shape
StrokeAlpha=Stroke Color 128,255,0,0
MeasureName=mCLabel
MeasureName2=mCFree
MeasureName3=mCTotal
MeasureName4=mDLabel
MeasureName5=mDFree
MeasureName6=mDTotal
MeasureName7=mOSbits
MouseOverAction=[!SetOption #CURRENTSECTION# StrokeAlpha "Stroke Color 128,255,0,255"][!ShowMeter #CURRENTSECTION#Name][!ShowMeter #CURRENTSECTION#HiLite][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetOption #CURRENTSECTION# StrokeAlpha ""][!HideMeter #CURRENTSECTION#Name][!HideMeter #CURRENTSECTION#HiLite][!UpdateMeter *][!Redraw]
Shape=Rectangle 0,0,20,20,50 | Fill Color 70,70,70 | StrokeWidth 3 | Extend StrokeAlpha
DynamicVariables=1
LeftMouseUpAction=[!Refresh]
MiddleMouseUpAction="devmgmt.msc"
RightMouseUpAction="taskmgr.exe"
ToolTipTitle="[mOSVersion] - x%7 / [mScreenSize]"
ToolTipIcon=Info
ToolTipText="C:/%1 ~ %2B / %3B#CRLF#D:/%4 ~ %5B / %6B#CRLF#L ~ Refresh#CRLF#M ~ Device Manager#CRLF#R ~ Task Manager"
UpdateDivider=#UDX#
X=-3
Y=10r
Thanks balala :thumbup:
User avatar
balala
Rainmeter Sage
Posts: 11216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Hiding an image when a drive is disconnected

Post by balala »

sl23 wrote: August 18th, 2019, 12:11 am Btw, I also solved the Refresh button issue by removing the image meter and using a shape meter instead...
And does it work now as intended?
sl23 wrote: August 18th, 2019, 12:11 am Thanks balala :thumbup:
You're welcome. I'm glad if I did help.
User avatar
sl23
Posts: 411
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Hiding an image when a drive is disconnected

Post by sl23 »

Yes it's exactly right.
Enjoy your hols buddy :thumbup: