Jump to content

Needs formatting functions


nopcode85

Recommended Posts

There needs to be functionality to allow custom formatting on the outputs before they are drawn on the screen. For example, controlling the # of decimal places in the power output so it shows 41watts instead of 41.17, and formatting the network speed so it's not some huge stupid number. Time and date, too. Basically, any output should be able to go through either a VBSscript or Python script to format the output.

Hell, using either of those would also allow you to choose pulling in data from some other unrelated thing like a websocket server to feed data into the system.

Link to comment
Share on other sites

37 minutes ago, nopcode85 said:

There needs to be functionality to allow custom formatting on the outputs before they are drawn on the screen. For example, controlling the # of decimal places in the power output so it shows 41watts instead of 41.17, and formatting the network speed so it's not some huge stupid number. Time and date, too. Basically, any output should be able to go through either a VBSscript or Python script to format the output.

Hell, using either of those would also allow you to choose pulling in data from some other unrelated thing like a websocket server to feed data into the system.

Decimal places can be configured in AIDA64 / main menu / File / Preferences / Hardware Monitoring.  The rest is not supported yet.

Link to comment
Share on other sites

The decimal places in the preferences is a blunt instrument; depending on the source I might want some more fine-grained info (example: cpu) or not (example: battery backup wattage). Being able to run the output through a specific item's formatting would open up several doors - for example, GOoverlay's product does this and a few more things.

Link to comment
Share on other sites

  • 3 weeks later...

I don't know if they need to go as far as integrating with a scripting language.  Just the ability to add a string format (ala printf like "%4.2f", "%'d", or "%05d") to any numeric output would be a great thing. It would likely require being able to set the locale though, to get the formatting right for everyone.  You could easily create a Regular Expression to only allow a specific subset of printf format strings (as some of them might break things).

Heck, just being able to put commas and control the number of decimal places would be terrific, even if these were just fields.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...