I have been playing with the code a bit, but I'm trying to display multiframe bitmap when the physical memory has reached a certain value. I have tried using the IfAboveValue, and IfBelowValue, as shown here (http://rainmeter.net/cms/Measures-IfActions_beta), however it doesn't seem to play well with a percentual tag(This was when I tested this as a string instead of a bitmap).
It seems when I try to do this as a string meter, the value will always be 100 as long as the percentual tag is after the text tag.
Is there a way I can code this skin using the IfAboveValue/IfBelowValue and use the Percentual tag? Or is there an alternate way to do this?
Yeah, that's why I tried this again as just a string to see if I was doing something wrong with the dual measures. But with the following code, if you comment out the Percentual tags, the proper memory available string will show. Otherwise it just displays 100.
(When Formula=MeasureMem is used, the Calc recieves the memory amount in bytes, not the percentual value. You could use MaxValue=TOTAL_RAM_IN_BYTES to scale the Calc correctly.)
I apologize for the late reply for I haven't been able to work with the code much recently. I tried using the code you had given in the previous post today, and it does return the percentual value as I need, however the color change effect did not occur. Once the available memory fell below 30, the color did not transition to red. I am not too sure how to scale the ram like you had mentioned with the MaxValue tag.
I think I am close; it seems as if the IfBelowAction/IfAboveAction tags are ignored.
KOS_void wrote:I apologize for the late reply for I haven't been able to work with the code much recently. I tried using the code you had given in the previous post today, and it does return the percentual value as I need, however the color change effect did not occur. Once the available memory fell below 30, the color did not transition to red. I am not too sure how to scale the ram like you had mentioned with the MaxValue tag.
I think I am close; it seems as if the IfBelowAction/IfAboveAction tags are ignored.
KOS_void
Anyone? It would be great if I could get this figured out.
Be VERY specific with what you ask for.
The more specific you are, the higher the quality of support you receive.
Do not just copy and paste what I put in examples and come back saying it doesn't work.
It does work, but I purposely left blanks that you need to fill for your specific needs.
santa_ryan wrote:View in the about window. Is it registering the value properly?
Well, in a sense, yes it is. However it 'MeasureMem' is only displaying the value in Gigs; it doesn't seem to register the 'Percentual' tag in that window.
Is this where the problem lies? Is it possible to use conditional tags such as IfBelowAction/IfAboveAction on a converted value from a measure? Or is there a way to convert the value at the measure level instead of the meter level?