It is currently April 27th, 2024, 11:05 pm

HD R/W skin, reads don't show

Get help with creating, editing & fixing problems with skins
User avatar
scratch67
Posts: 34
Joined: April 8th, 2015, 1:27 pm

HD R/W skin, reads don't show

Post by scratch67 »

I know there is not much read activity. I checked Performance Monitor. I tried to find out why, no luck. Hopefully someone here can see the "bug". Speaking of bugs, no errors in the log. I # the MaskImage lines recently. The write's part works fine.

Code: Select all

[MeasureDiskReads]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=C:
IfCondition=MeasureDiskReads > 0
IfTrueAction=[!SetOption MeterDiskReads ImageName "GreenLightOn.png"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption MeterDiskReads ImageName "GreenLightOff.png"][!UpdateMeter *][!Redraw]

[MeasureDiskWrites]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=C:
IfCondition=MeasureDiskWrites > 0
IfTrueAction=[!SetOption MeterDiskWrites ImageName "RedLightOn.png"][!UpdateMeter *][!Redraw]
IfFalseAction=[!SetOption MeterDiskWrites ImageName "RedLightOff.png"][!UpdateMeter *][!Redraw]

[MeterDiskReads]
Meter=Image
X=2130
Y=727
ImagePath=#@#Images\
# MaskImagePath=#@#Images\
ImageName=GreenLightOn.png
# MaskImageName=GreenLightOn.png
AntiAlias=1
UpdateDivider=-1

[MeterDiskWrites]
Meter=Image
X=1248
Y=727
ImagePath=#@#Images\
# MaskImagePath=#@#Images\
ImageName=RedLightOn.png
# MaskImageName=RedLightOn.png
AntiAlias=1
UpdateDivider=-1
Last edited by balala on December 25th, 2023, 7:05 am, edited 1 time in total.
Reason: Please use <code> tags whenever are posting codes. It's the </> button.
Cheers,

MARK
User avatar
Yincognito
Rainmeter Sage
Posts: 7178
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: HD R/W skin, reads don't show

Post by Yincognito »

scratch67 wrote: December 24th, 2023, 7:21 pm I know there is not much read activity. I checked Performance Monitor. I tried to find out why, no luck. Hopefully someone here can see the "bug". Speaking of bugs, no errors in the log. I # the MaskImage lines recently. The write's part works fine.
Your code is mostly correct, and produces the desired effect for me. You should replace the # with ; to comment out lines though. Also, not sure if it helps, but reducing those X and Y values would not be a bad idea - you don't need your skin to extend over your entire screen, you can instead move it accordingly.

And yes, usually there are few reads, but try getting some folder's properties or compute the size of its contents and you'll see that the read meter also works.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
scratch67
Posts: 34
Joined: April 8th, 2015, 1:27 pm

Re: HD R/W skin, reads don't show

Post by scratch67 »

I've worked the XY coordinates thinking it might be off the screen.
Cheers,

MARK
User avatar
Yincognito
Rainmeter Sage
Posts: 7178
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: HD R/W skin, reads don't show

Post by Yincognito »

scratch67 wrote: December 25th, 2023, 4:08 am I've worked the XY coordinates thinking it might be off the screen.
And did it work?
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
scratch67
Posts: 34
Joined: April 8th, 2015, 1:27 pm

Re: HD R/W skin, reads don't show

Post by scratch67 »

I found it! I noticed the "green" read on the lower left of my screen. Adjusted the XY so that it is next to the "red" write in the lower right location.

Studying up on the W H parameters now....
Cheers,

MARK
User avatar
Yincognito
Rainmeter Sage
Posts: 7178
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: HD R/W skin, reads don't show

Post by Yincognito »

scratch67 wrote: December 25th, 2023, 12:44 pm I found it! I noticed the "green" read on the lower left of my screen. Adjusted the XY so that it is next to the "red" write in the lower right location.

Studying up on the W H parameters now....
Alright - glad you found a way to achieve what you wanted. :thumbup:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth