Just to be clear, the issue with my solution doesn't turn on the number of days in the month - it turns on whether or not you switch on your computer on the first of each month. If you habitually switch on your computer each day (I tend to) then no problems other than holidays, and a middle-click the first time you switch on after your holiday will solve the problem. That's why I never thought about it any further (well, that and it didn't work when first I asked about it...).scoop6274 wrote:Thanks for the answer, that clarifies things. However, there is still the issue of getting the month to reset correctly. Is there anyway it could be dependent upon the an IfEqual=#Month# instead of worrying about the number of days in the month.
Yes, good idea. Something like this (disclaimer: I can never remember when you're meant to use square brackets around a measure that you're using in another measure, so I've almost certainly got that wrong...)?scoop6274 wrote:Couldn't it read the information like it does for the calendar and when the month number is no longer equal to what it has been for the previous recording, then it resets the statistics.
Code: Select all
[Month]
Measure=calc
Formula=2
DynamicVariables=1
[MonthChecker]
Measure=Time
Format="%H"
IfAboveValue=Month
IfAboveAction=!Execute [!RainmeterSetVariable Month [MonthChecker]] [!RainmeterResetStats]
DynamicVariables=1
[HappyNewYear]
Measure=calc
Formula= tMonth=12 && MonthChecker=1 : !Execute [!RainmeterSetVariable Month 1] [!RainmeterResetStats] : 0
The third meter is purely to deal with the situation where [MonthChecker] ticks over from 12 back to 1, which obviously won't trip the IfAboveValue trigger.
Hah! Yes, it would be nice. I'm not volunteering for that one, though - at some point in time I intend to get a compatible router and install Tomato or DDWRT in order to have that level of insight into my traffic!scoop6274 wrote:It would also be nice if it could output to a text file with each month listed differently so that one could look at it over a year and if you have multiple computers in your network, you could look at the statistical usage per computer and add them up for all computers.