Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 20, 2010, 08:51 PM   #1
ZestyOne
macrumors member
 
Join Date: Oct 2009
Location: Paradise
How to make global hotkey for new mail message (keeping mail hidden)?

Hey,
I see there are a few apps such as cockpit and keyboard maestro that handle global hotkeys, however I would like to figure out a free solution. I have quicksilver but the mail plugin hardly cuts it for effectiveness and functionality.

Basically I'd like to just have a hotkey (any available function keys after F12 for instance), that when I push it, it opens up a "New Mail" message for OSX Mail, without having to go to mail, hitting new, typing out message then hiding mail (it pops up along with new mail).

I do a lot of programming and design and it would be great to do this as I send out like 50 emails a day ( !!)

Thanks!
ZestyOne is offline   0 Reply With Quote
Old Dec 20, 2010, 09:10 PM   #2
swiftaw
macrumors 603
 
swiftaw's Avatar
 
Join Date: Jan 2005
Location: Omaha, NE, USA
Just tried this and it's relatively simple.

Step 1: Create a service in Automator
a) Open Automator
b) Select Service template
c) On the right hand side, use the pull down menus to make it say "Services receives no input in any application.
d) From the left hand panel select Mail, then drag "New Mail Message" to the right hand panel.
e) Save, give it a name like "New Mail Message"

Step 2: Create a keyboard shortcut
a) Open System Preferences
b) Select Keyboard
c) Select Keyboard Shortcut
d) Select Services
e) Find "New Mail Message" in the list, add keyboard shortcut (I used Shift+Apple+M) by clicking to the right of the name.

Step 3: Check that it works. (You can also launch it by clicking on AppName->Services->New Mail Message in the menu bar of any App.
Note, if Mail isn't running, Mail will launch and then create a New Message.
swiftaw is offline   1 Reply With Quote
Old Dec 20, 2010, 10:33 PM   #3
ZestyOne
Thread Starter
macrumors member
 
Join Date: Oct 2009
Location: Paradise
Quote:
Originally Posted by swiftaw View Post
Just tried this and it's relatively simple.

Step 1: Create a service in Automator
a) Open Automator
b) Select Service template
c) On the right hand side, use the pull down menus to make it say "Services receives no input in any application.
d) From the left hand panel select Mail, then drag "New Mail Message" to the right hand panel.
e) Save, give it a name like "New Mail Message"

Step 2: Create a keyboard shortcut
a) Open System Preferences
b) Select Keyboard
c) Select Keyboard Shortcut
d) Select Services
e) Find "New Mail Message" in the list, add keyboard shortcut (I used Shift+Apple+M) by clicking to the right of the name.

Step 3: Check that it works. (You can also launch it by clicking on AppName->Services->New Mail Message in the menu bar of any App.
Note, if Mail isn't running, Mail will launch and then create a New Message.
Thanks, that was extremely helpful
ZestyOne is offline   0 Reply With Quote
Old Dec 20, 2010, 10:44 PM   #4
ZestyOne
Thread Starter
macrumors member
 
Join Date: Oct 2009
Location: Paradise
One minor tweak, is there a way I can use applescript to hide the application for mail (the inbox) without hiding the actual New Mail window that I just popped up?

I tried googling applescript but this hides the entire mail app, including the new mail window.

Code:
on run {input, parameters}
	
	tell application "System Events"
		set visible of process "Mail" to false
	end tell
	
	return input
end run
ZestyOne is offline   0 Reply With Quote
Old May 18, 2011, 07:56 PM   #5
mrk2010
macrumors newbie
 
Join Date: Dec 2010
I know this is an old thread and you probably figured out a solution, but for the benefit of all the readers out there, you can just simply minimize the message viewer window. As a result, the message viewer will not pop up every time you use the shortcut to compose a new message.

If you want to easily bring the message viewer back up again, you can set up a shortcut:
1) Go back to the Keyboard Shortcuts window in System Preferences (as described above)
2) Click on Application Shortcuts in the pane on the left, and then click on the + to add a new shortcut
3) Under the Application: drop down menu, select Mail.app. Type "Message Viewer" (without quotes) in the Menu Title: field, and press a keyboard shortcut. I used Apple+Shift+V. Click Add.

Now, whenever you task switch to Mail, the message viewer won't show up because it was minimized instead of hidden. Simply press your keyboard shortcut to bring it back up quickly.

Hope this helps!
mrk2010 is offline   0 Reply With Quote
Old Dec 14, 2012, 07:46 AM   #6
jt6572
macrumors newbie
 
Join Date: Aug 2011
Location: Perth West Australia
thank you!

Quote:
Originally Posted by swiftaw View Post
Just tried this and it's relatively simple.

Step 1: Create a service in Automator
a) Open Automator
b) Select Service template
c) On the right hand side, use the pull down menus to make it say "Services receives no input in any application.
d) From the left hand panel select Mail, then drag "New Mail Message" to the right hand panel.
e) Save, give it a name like "New Mail Message"

Step 2: Create a keyboard shortcut
a) Open System Preferences
b) Select Keyboard
c) Select Keyboard Shortcut
d) Select Services
e) Find "New Mail Message" in the list, add keyboard shortcut (I used Shift+Apple+M) by clicking to the right of the name.

Step 3: Check that it works. (You can also launch it by clicking on AppName->Services->New Mail Message in the menu bar of any App.
Note, if Mail isn't running, Mail will launch and then create a New Message.
wow, exactly what i was looking for!

thanks very much
jt6572 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
New owner [keeping mail separated?] tony1208 Mac Basics and Help 6 Dec 18, 2013 08:37 AM
Is it possible to make certain Mail folders not sync like with the iOS Mail? Siderz OS X 10.8 Mountain Lion 4 Nov 24, 2013 05:14 AM
Clear cache for Global Address List in Mail.app? palebluedot iOS 7 2 Oct 16, 2013 03:32 PM
Keeping Mail In Inbox clearbags24 iPad Tips, Help and Troubleshooting 0 Feb 2, 2013 10:57 PM
How to make OSX mail app fully reflect mail in Gmail? prvt.donut Mac Applications and Mac App Store 2 Aug 17, 2012 02:46 AM

Forum Jump

All times are GMT -5. The time now is 09:40 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC