#519 ✓fixreleased
Teddy Svoronos

Send and Archive button

Reported by Teddy Svoronos | December 3rd, 2013 @ 09:34 PM

Can't seem to figure out a way to attach a keyboard shortcut to Send and Archive - tried Applescript UI Scripting, Keyboard Maestro, no luck. Any hints?

Comments and changes to this ticket

  • benny

    benny December 4th, 2013 @ 09:24 AM

    • State changed from “new” to “closed”

    There is no easy way, but you can do it using a custom key binding with sendAndArchiveParent:.

    Note that it can be a bit hard to find a working key binding in the composer since many are reserved by the Composer. Here is an example using ⇧F1:

    "$\UF704"   = "sendAndArchiveParent:";
    
  • Teddy Svoronos

    Teddy Svoronos December 4th, 2013 @ 02:31 PM

    Hi Benny,

    I created a Special.plist file in /Applications/MailMate.app/Contents/Resources/KeyBindings/ with the following text:

    {
    
    "@^~D"   = "sendAndArchiveParent:";
    
    }
    

    I'm trying to map "D" with all modifier keys pressed to this function. I also added "Special" to the Custom Key Binding list in preferences. Any idea why this might not work?

  • benny

    benny December 4th, 2013 @ 03:14 PM

    • State changed from “closed” to “accepted”

    There is a general problem with any key bindings using @ (⌘). I'm actually not sure when, if ever, it works. I'll reopen this ticket and use it to track any progress on this issue.

  • benny

    benny December 6th, 2013 @ 03:45 PM

    • State changed from “accepted” to “fixcommitted”

    Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane to get a version of MailMate with a fix for this issue.

  • Teddy Svoronos

    Teddy Svoronos December 6th, 2013 @ 03:57 PM

    Hi Benny,

    Thanks for this. I just updated and

    {
    
    "@^~D"   = "sendAndArchiveParent:";
    
    }
    

    still doesn't work, though the shift-F1 still does work. Any idea what might be going wrong?

  • benny

    benny December 6th, 2013 @ 04:05 PM

    The order of modifiers is important (I've updated the manual):

    "^~@D" = "sendAndArchiveParent:";
    

    Note that this means ⌃⌥⇧⌘D (uppercase D means ⇧ is also needed).

  • benny

    benny December 6th, 2013 @ 04:07 PM

    It's r3880 by the way. In case the update failed (see the revision number in the About window).

  • Teddy Svoronos

    Teddy Svoronos December 6th, 2013 @ 04:11 PM

    Yep, I have my caps lock key mapped to control+option+command+shift, so I'm using caps lock + D. I tried making it just @#~d and not using the hyper key, but no luck.

  • benny

    benny December 7th, 2013 @ 12:32 PM

    Note that the order of modifiers is important. It must be:

    "^~@D" = "sendAndArchiveParent:";
    

    And I forgot to emphasize this: When using a key binding with ⌘ then it is still necessary for the focus to be in the text view of the Composer and not in any of the headers.

  • benny

    benny December 17th, 2013 @ 06:42 PM

    • State changed from “fixcommitted” to “fixreleased”
  • Yogananda

    Yogananda March 6th, 2017 @ 09:16 PM

    Is there any reason why "Send and Archive Parent" is not available as a menu command?

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket

Attachments

Pages