goToMailbox and Focus on the first message
Reported by Sebastien Varrette | November 9th, 2015 @ 04:09 PM
Hi,
I have two issues / wishes as regards the "goToMailbox:" binding directive:
- Using a key binding ( "goToMailbox:", "" ) put the focus on the MAILBOXES panels, which makes it impossible to combine it with some message selection. For instance, I wanted to map a key to go to a special Junk mailbox and select all messages. The following two attempts failed:
"g" = {
"j" = ( "goToMailbox:", "<UUID>", "selectFirstMessageRow:", "selectAll:"); /* Goto smart mailbox, Junk */
};
- It seems impossible to pass a path to a submailbox directly. Can't that be changed? Ex:
"g" = {
"j" = ( "goToMailbox:", "/INBOX/Sub/Mailbox");
};
Comments and changes to this ticket
-
benny November 10th, 2015 @ 01:59 PM
- State changed from new to resolved
Issue 1: You can use
makeFirstResponder:
withmainOutline
I believe. (But I should probably not change focus, but this is more a general issue.)Issue 2: For
goToMailbox:
you must also specify the account (this restriction is documented). Try selecting the mailbox you want in the GUI and then use ⌘C to put its “UUID” on the pasteboard.Let me know if this doesn't help.
-
Sebastien Varrette November 10th, 2015 @ 05:30 PM
ok, that makes sense ;)
May be you shall update the documentation to reflect that trick since the probability to wish to end on the message panel rather than the mailbox one after a goToMailbox seems huge to me.For the other followers of this ticket, I ended with the following key binding:
"g" = { "j" = ( "goToMailbox:", "<UUID>", "makeFirstResponder:", "mainOutline", "selectAll:"); /* Goto smart mailbox, Sysadmins Junk */ }
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mac OS X email client.