[MlMt] statistics per weekday / hour ?

Max Rydahl Andersen max.andersen at gmail.com
Tue Jul 15 06:58:41 EDT 2014


On 15 Jul 2014, at 10:01, Benny Kjær Nielsen wrote:

> On 15 Jul 2014, at 8:16, Max Rydahl Andersen wrote:
>
>> On 14 Jul 2014, at 13:51, Benny Kjær Nielsen wrote:
>>
>>> On 13 Jul 2014, at 9:59, Max Rydahl Andersen wrote:
>>>
>>>> Is there a way to have it show the 7 week days (Monday, Tuesday, 
>>>> Wednesday), etc. in statistics ?
>>>
>>> Hmm, only very low-level I think. I think it would be possible to 
>>> define a custom specifier for the `Date` header of the message 
>>> picking the “Sun/Mon/...” part of it. It could be named Weekday 
>>> and then “Date ▸ Weekday” would be available in the GUI. 
>>> Interested in more details about this?
>>
>> Yes :)
>
> Save the following in this file:
>
> 	~/Library/Application Support/MailMate/Resources/specifiers.plist
>
> ~~~
> {
> 	parsers =
> 	{
> 		rawDate = {
> 			headers = ( "date" );
> 			specifierRegex = '^\s*([A-Za-z]{3})';
> 			specifierCaptures = {
> 				1 = { specifier = "weekday"; };
> 			};
> 		};
> 	};
> }
> ~~~
>
> Then restart MailMate and look for `Date` (without the '*') in the 
> window opened via “Other…” in the headers popup. It should have 
> a Weekday specifier.
>
> Here is the result of applying this to my All Messages:
>
> ![](cid:31625CC1-8494-4FB4-B009-E0108CA5C8C8 at freron.com "Screen Shot 
> 2014-07-15 at 9.57.26 AM.png")
>
> Sigh, and today is Tuesday :-)

Awesome.

for fun...my worst day is tomorrow ;)

...and I wanted to attach that but pasting images doesn't seem to work 
;/

/max
http://about.me/maxandersen


More information about the mailmate mailing list