Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

russ2204

macrumors newbie
Original poster
Feb 1, 2016
5
0
How do I setup a shortcut to create a new mail using a specified account ? I have 4 accounts and would like a shortcut to save me having to select the account from the dropdown box. A keyboard shortcut to create new mail using a specified account would be amazing. I am using El Capitan.
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
One way to do this would be a custom “service” created with Automator. This application can be found in your Applications folder. Just create a new service with it (the cog icon), specify in the upper right corner that it is for Mail only and takes no input, then drag the mail action “New Mail Message” from the actions sidebar to the main field. Change the “from” field to your email address and save the service, e.g. “New Message (xyz@mail.com)”. There will now be an option in the Mail application under Mail > Services. Now you only need to assign a shortcut to it. In System Preferences > Keyboard > Shortcuts, look for your service and assign a shortcut. That’s it.
 

russ2204

macrumors newbie
Original poster
Feb 1, 2016
5
0
One way to do this would be a custom “service” created with Automator. This application can be found in your Applications folder. Just create a new service with it (the cog icon), specify in the upper right corner that it is for Mail only and takes no input, then drag the mail action “New Mail Message” from the actions sidebar to the main field. Change the “from” field to your email address and save the service, e.g. “New Message (xyz@mail.com)”. There will now be an option in the Mail application under Mail > Services. Now you only need to assign a shortcut to it. In System Preferences > Keyboard > Shortcuts, look for your service and assign a shortcut. That’s it.
[doublepost=1454369206][/doublepost]Thanks - I have followed this but nothing is showing up in Services or in the Keyboard Shortcuts. Do I need to save to a specific location ? Also, when creating the email will it apply the correct signature automatically as it does when I do it manually ?
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
[doublepost=1454369206][/doublepost]Thanks - I have followed this but nothing is showing up in Services or in the Keyboard Shortcuts. Do I need to save to a specific location ? Also, when creating the email will it apply the correct signature automatically as it does when I do it manually ?

When you use the normal Save command, it will ask you for a name and create a file in ~/Library/Services (just paste this path into Finder > Go > Go to Folder...). Normally it should appear automatically, but maybe you have to reopen Mail.

Edit: It's a bit weird here as well, not sure why. I suppose that your system needs to index it and add it to the Services daemon. Make sure that you close System Preferences and Mail before you add it. In any case, logging out/in should definitely make it appear.

As for the signature, I haven't tested this. I suspect that this should work if the signature is assigned to that account. However, you can just add a signature manually in the service as well.


That's also a neat idea, although it requires to consequent shortcuts of course.
 
Last edited:

russ2204

macrumors newbie
Original poster
Feb 1, 2016
5
0
Hi

I have now copied to the correct folder. I have setup a shortcut in shortcuts. But it does not appear in Mail under Services nor does the shortcut work. I have tried restarting Mail but it made no difference.
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
Hi

I have now copied to the correct folder. I have setup a shortcut in shortcuts. But it does not appear in Mail under Services nor does the shortcut work. I have tried restarting Mail but it made no difference.

But the service does appear under Shortcuts? Just not in Mail?
 

russ2204

macrumors newbie
Original poster
Feb 1, 2016
5
0
No - it does not appear. Only in the Keyboard Shortcuts. It is enabled but does not show up anywhere.
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
No - it does not appear. Only in the Keyboard Shortcuts. It is enabled but does not show up anywhere.

Are you sure you set the parameters right? Service receives "no input" in "Mail". Screen Shot 2016-02-02 at 18.50.27.png
 

BrianBaughn

macrumors G3
Feb 13, 2011
9,843
2,505
Baltimore, Maryland
The keyboard shortcut "Menu Title" has to be the same as it is in the dropdown selector in a new message...and the tricky part is that the dash is an "option-dash".

Said out loud it would be: firstname space lastname space option-dash space emailaddress
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.