Things are going well and i can monitor the VRAM currently in use by my video card.
But for the bar meter i wan't to make, i need a max value.
My GPU has 8 gigs available, and SIV can detect this.
BUT, the way the plugin see's it, is in a long line which i suspect is a string and not a number value.
1. Current = The current value [Default]
2. Average = The average value
3. Minimum = The minimum value
4. Maximum = The maximum value
5. String = Can use this when the measure is a pure string such as NodeName, Username etc...For numerical measures it gives you a comma separated string of the four values (Cur,Avg,Min,Max) as provided by SIV to my plugin. It can be used to see what SIV provides as raw input in case of problem or if you want to decode it yourself in Rainmeter in case of new measure format provided by SIV.
No option to just grab the available VRAM
The measure looks like this:
Code: Select all
I wonder if i could use RegExpSubstitute to extract the number eight from that line and discard everything else.
But then, would i even be able to use that number in a calc measure? Is it a sting, and not a real number?
Looked over the documentation for RegExpSubstitute, but it is just beyond my skills at this time.
Sadly the author is not active on his thread, so i thought i would give it a shot and ask here...