Hello @sccardais , do you mean opening as the video from minute 1:04? I have the mail window centered and then with a recorded mouse click the selection activated.
David Sparks, aka MacSparky, has a method for changing the send-from account using the built-in options in System Preferences > Keyboard. It’s worked great for me for years.
macOS Sierra broke a lot of stuff, especially AppleScript related stuff.
Apple Mail has long been a scripting challenge, and Sierra has made it even more so.
Do a forum search on "sierra mail" and you should see a number of posts".
Sorry I can't offer any specific help since I don't use either Sierra or Apple Mail.
Chris Stone (@ccstone), however, does. And the is the AppleScript master. So hopefully he will come along soon to offer some suggestions for you.
If the ability to change the send-from option is only needed for new Mail messages (rather than having the option when replying to emails), macros could be made using the KM action Send Mail Message. That action allows the user to set the send-from address, so a macro could be made for each address.
I see exactly what you describe in my “From” drop down in Mail. From System Preferences > Keyboard > Shortcuts, (mail - specific) I’m using a normal space after my last name, then option+hyphen, then normal space, then my email address.
I haven’t tried restarting Apple Mail but will try that.
Do you see the new keyboard shortcut(s) in the pop-up menu in Mail?
Generally you should be able to immediately after creating them, but there are some inconsistencies in how they propagate.
For instance:
You have an outgoing message open in Mail.
You create a new keyboard shortcut for an email address.
It shows up in the email address pop-up menu, but it doesn't work.
If you close that email message and reopen it (or open a new one) it will probably work.
Goofy stuff like that.
** Note – there are some keyboard shortcuts the system prefs don't like. Occasionally you can enter them, but they just don't work – sometimes the prefs just won't let you enter something.