HUNTwerker wrote: ↑February 5th, 2024, 9:55 pmhow can i hide the Disk: C value GB from this example
The "G"s are added by the AutoScale option from your MeterDriveInfo meter. You can remove them by replacing AutoScale with an equivalent Scale option. The "B"s are added by the Text option from your MeterDriveInfo meter. You can remove them by deleting the "B"-s in that option.
Or, you can divide the desired measures in the Formula option of some additional Calc measures, and use the said Calc measures in the MeasureName options from your meter.
By the way, you can use the </> button above your message box to post code (it's the 5th button there), instead of a spoiler. The code should be enclosed by [code] and [/code] tags - you can use the Preview button to test if it looks alright.
AutoScale should be = 0 to delete the "G" AutoScale=1
And you have to manually delete the B's on Text= on [MeterDriveInfo] Text="C:\ (%1): [Total: %2B] [Free: %3B] [Used: %4B]"
HUNTwerker wrote: ↑February 6th, 2024, 9:03 am
Screenshot 2024-02-06 100149.png
I've already tried everything and it completely changes the values so that completely wrong values are displayed
Sorry, didn't test it. Here's the fix:
They're not wrong, it's just that AutoScale, as its name says, scales those numbers down. When that's disabled, you are seeing the values as bytes instead of GigaBytes, you only have to convert them back to GB. The conversion is 1GB = 1073741824bytes. Just replace AutoScale=1 with Scale=1073741824
HUNTwerker wrote: ↑February 6th, 2024, 7:53 am
I've already tried autoscale and scale but it doesn't have the success I was hoping for
Like RicardoTM already detailed, you had to make the suggested changes in order to make it work as expected. It's not hard, but yeah, it takes a bit of practice to get the idea. Things won't automagically happen if you don't take the appropriate actions to do it.