[MlMt] Move focus to message list

Stefan Buehler stefan at sbuehler.de
Wed Mar 25 10:10:04 EDT 2020


Dear Zvi,

perfect, thanks!

All the best,

Stefan

On 25 Mar 2020, at 14:05, Zvi Biener wrote:

> I use the following to move from a selected mailbox to the top message 
> of the message viewer:
>
> "m" = ( "makeFirstResponder:", "mainOutline", "selectFirstMessageRow:" 
> );
>
> Best,
> Zvi
>
> On 25 Mar 2020, at 8:01, Stefan Buehler wrote:
>
>> Dear all,
>>
>> but now the perhaps less trivial question: My shortcuts do select the 
>> last message (key l-l), but do not move the focus there, as I had 
>> hoped. I’ve now found that there appears to be a selector to move 
>> the focus, “makeFirstResponder:”. But what is the ID of the 
>> message list?
>>
>> Cheers
>>
>> Stefan
>>
>> On 25 Mar 2020, at 12:48, Stefan Buehler wrote:
>>
>>> Thanks! Sorry for being so dense.
>>>
>>> :-) /Stefan
>>>
>>> On 25 Mar 2020, at 11:36, David Ledger wrote:
>>>
>>>> On 2020-03-25 09:34, Stefan Buehler wrote:
>>>>> Dear MailMate experts,
>>>>>
>>>>> I like using the keyboard and avoiding the mouse. This works very 
>>>>> well in MailMate, but I often have the problem that when I do a 
>>>>> search or jump to a mailbox, the focus is then in the search field 
>>>>> or the mailbox list, and not in the message list where I need it 
>>>>> to be to deal with the messages.
>>>>>
>>>>> I can move focus along with the tab key, but it is a bit 
>>>>> unpredictable how many times I have to press it to come to the 
>>>>> message list.
>>>>>
>>>>> So, it would be great to have a keyboard shortcut to move focus to 
>>>>> the message list directly.
>>>>>
>>>>> I thought I could achieve this with the last two keys (f and l) in 
>>>>> the keyboard shortcuts file like this:
>>>>>
>>>>>      "l" = {
>>>>>          // 0 In+Sent
>>>>>          "0" = ( "goToMailbox:", 
>>>>> "B6C88ECF-C0A4-4B8F-AD99-D29E352D60FD" );
>>>>>
>>>>>          // 1 Wichtig
>>>>>          "1" = ( "goToMailbox:", 
>>>>> "9C4141C4-5D02-46C2-8B86-82825D65C9BB" );
>>>>>
>>>>>          // 2 Normal
>>>>>          "2" = ( "goToMailbox:", 
>>>>> "81B7C934-ABAD-4349-8129-588BD1E94ED6" );
>>>>>
>>>>>          // 3 Unwichtig
>>>>>          "3" = ( "goToMailbox:", 
>>>>> "4272D314-52C4-4FF9-9FA9-1DE1BD287BC3" );
>>>>>
>>>>>          // 4 Other unread (bereits in Folder abelegte 
>>>>> Mails)
>>>>>          "4" = ( "goToMailbox:", 
>>>>> "6FC03EEB-FBC4-4A91-B450-5A0C1330CBDB" );
>>>>>
>>>>>          // Show all from same thread
>>>>>          "t" = ( "showThread:" );
>>>>>
>>>>>          // Show all from same correspondants
>>>>>          "c" = ( "showCorrespondence:" );
>>>>>
>>>>>          // Select first message row
>>>>> //        "f" = { "selectFirstMessageRow:" };
>>>>>
>>>>>          // Select last message row
>>>>> //        "l" = { "selectLastMessageRow:" };
>>>>>
>>>>>      };
>>>>>
>>>>> With the lines commented out like this, keyboard shortcuts work. 
>>>>> But if I uncomment one or both of the last two entries, all custom 
>>>>> keyboard shortcuts stop to work.
>>>>>
>>>>> Any ideas?
>>>>
>>>> You're using braces '{}' rather than parentheses '()'
>>>>
>>>> David
>>>>
>>>>
>>>> _______________________________________________
>>>> mailmate mailing list
>>>> mailmate at lists.freron.com
>>>> https://lists.freron.com/listinfo/mailmate
>>> _______________________________________________
>>> mailmate mailing list
>>> mailmate at lists.freron.com
>>> https://lists.freron.com/listinfo/mailmate
>> _______________________________________________
>> mailmate mailing list
>> mailmate at lists.freron.com
>> https://lists.freron.com/listinfo/mailmate
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate


More information about the mailmate mailing list