Message: 3
Date: Wed, 10 Jul 2013 17:56:03 +0200
From: "Benny Kj?r Nielsen" <[email protected]>
To: "MailMate Users" <[email protected]>
Subject: Re: [MlMt] Overwriting default keybindings
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

On 9 Jul 2013, at 15:35, Eric A. Meyer wrote:

Hopefully someone with more keybinding experience than me can help
out.  I'm trying to overwrite the standard keybindings for Reply,
Reply All, Reply List, and Forward so that when I reply to or forward
a message, it is also marked as read. I have these lines in my custom
keybindings file:

        "@r" = ( 'setTag:', '\\Seen', 'reply:');
        "@R" = ( 'setTag:', '\\Seen', 'replyAll:');
        "~@r" = ( 'setTag:', '\\Seen', "replyList:");
        "@F" = ( 'setTag:', '\\Seen', 'forwardMessage:');

However, while messages are replied to or forwarded just fine, the
marking-as-read thing doesn't happen.  I know the keybindings file is
being loaded and used because other custom keybindings in the file are
recognized.  Any thoughts as to what I might be doing wrong?  Or is
overwriting the default keybindings something that can't be done?

Custom key bindings only work for keys that are not ?taken? by
something else. In this case the standard menu items. For some of the
key bindings it is probably possible to use System Preferences ?
Keyboard ? Keyboard Shortcuts to change the default to some dummy key.
After that your bindings would work. But I wouldn't recommend that. It's
a mess and it wouldn't work for the reply-related menu items since
MailMate dynamically change these key bindings based on Composer
preferences.

Your particular problem (marking as read) is better solved by rules, but
you'll have to wait for me to release that feature :-)

(I haven't yet looked into how hard it would be to override the menu key bindings. It would, at least, be tricky to both display the key binding
in the menu *and* override it.)

--
Benny




You could probably create a workaround via [Keyboard Maestro][1]. I have one that remaps ⌘↩ to ⇧⌘D (Send Mail). It should be possible to create one that activates the keyboard shortcut for reply or forward, pauses a second, and then activates the shortcut for marking as read.

I've also set it up to only be active within MailMate, so the remapping doesn't effect anything else.

Some screenshots of mine:

![⌘Enter to Send][2]

![MailMate Activate][3]

![MailMate Deactivate][4]

My best,
Bruce


[1]:http://www.keyboardmaestro.com/main/
[2]:http://brucesteinberg.co/Images/2013-07-10/Keyboard-Maestro-Send.tiff
[3]:http://brucesteinberg.co/Images/2013-07-10/Keyboard-Maestro-MM-Activate.tiff
[4]:http://brucesteinberg.co/Images/2013-07-10/Keyboard-Maestro-MM-Deactivate.tiff

-----------------------
Bruce Steinberg
Lighting Design
www.BruceSteinbergLD.com
_______________________________________________
mailmate mailing list
[email protected]
http://lists.freron.com/listinfo/mailmate

Reply via email to