Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1044

Help: Rainmeter Skins • Re: Struggling to convert meter to number (EmailCheckerSimple)

$
0
0
EmailCheckerSimple plugin uses a meter to get all data (as far as I can see, I might wrong here).
I'm trying to take the new mail count from the meter, use that to set a variable, and then use that variable within a measure.

So far, I've gotten the variable set correctly, however the measure doesn't function.
Didn't (and won't, due to data sensitivity) test the code, but once the variable was set correctly, you'd typically update the measure using it, as well as other sections using or displaying it, and optionally redraw the skin (didn't add the latter since that part exists in the measure's If...Actions anyway):

Code:

OnUpdateAction=[!SetVariable NumberOfEmails [&msEmail:GetData("(count)")]][!UpdateMeasure MeasureCountEmails]
By the way, UpdateRate makes no sense and doesn't exist in a Calc measure.

References (note the behavior of IfActions):
- https://docs.rainmeter.net/manual/measures/general-options/ifactions/
- https://docs.rainmeter.net/manual/measures/calc/

Statistics: Posted by Yincognito — Today, 7:42 pm



Viewing all articles
Browse latest Browse all 1044

Trending Articles