shayne / hwinfo-streamdeck

Monitor sensor readings with this HWiNFO64 Stream Deck Plugin
240 stars 15 forks source link

Formatting the FPS field without the "FPS". XXX instead of XXX FPS #90

Open TonyM2M opened 4 months ago

TonyM2M commented 4 months ago

When displaying the number of FPS, how can I format it so that I don't see the letters "FPS"?

robinrm commented 4 months ago

where do you get the FPS Information? i can't find them on my system ...

TonyM2M commented 4 months ago

in HWInfo check monitoring Yes for Presentmon parameters (Framerate etc... And then in Streamdeck, choose out of the HWInfo plugin a field with Presentmoon as the sensor and then the FPS as the reading

Screenshot 2024-06-24 103542 Screenshot 2024-06-24 103601 Screenshot 2024-06-24 103637 Screenshot 2024-06-24 103659

robinrm commented 4 months ago

you can set in the advanced settings the format to %f but the downside than is that you will see 6 digits vor example 160.123456. Not shure how you can prevent this ...

TonyM2M commented 3 months ago

you can set in the advanced settings the format to %f but the downside than is that you will see 6 digits vor example 160.123456. Not shure how you can prevent this ...

Thanks for the hint!!

I am now using %.0f and it works great. It shows only the number without the decimals and without "FPS"