Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Mac 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 > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to supercharge Mini? ranny2 Mac mini 18 Oct 27, 2011 08:53 PM
How To Remove Server Part Of Lion? hhaydenn iMac 2 Aug 18, 2011 05:21 PM
NEW Mail arrives in my TRASH...WHY? ellepace Mac Basics and Help 9 Jun 22, 2011 04:02 PM
How to make unread messages in Apple Mail bold? majordude Mac Applications and Mac App Store 8 Aug 17, 2009 08:41 AM
How to make comments/ notes to received mails in Apple Mail feuerschlange Mac Applications and Mac App Store 0 Oct 13, 2008 08:47 PM


All times are GMT -5. The time now is 03:05 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC