Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Start a new Mail message from anywhere Apps
My workflow is very email-centric and I've often wished I could start a new email in Mail by pressing a keyboard combo in any program. I use QuickSilver, and the regular way of searching for a contact's email address and then creating a new mail that way seems awkward to me compared to the email address completion Mail.app offers.

After many tries, I finally found out how to get Mail.app to open a new message window using AppleScript:
tell application "Mail"
  set t to make new outgoing message
  set visible of t to true
  activate
end tell
Save this as an AppleScript using AppleScript Editor, and then tie a keyboard shortcut to that script using your favorite keyboard shortcut creation tool. Tested with 10.6.1.

[robg adds: This also works in 10.5, and probably many releases before that. Spark is one of many program you can use to create the keyboard shortcut. In 10.6, you could also create this as a Service using Automator, and assign a keyboard shortcut in the Keyboard Shortcut's System Preferences panel.]
    •    
  • Currently 2.06 / 5
  You rated: 1 / 5 (16 votes cast)
 
[24,061 views]  

Start a new Mail message from anywhere | 13 comments | Create New Account
Click here to return to the 'Start a new Mail message from anywhere' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Start a new Mail message from anywhere
Authored by: incogenator on Nov 09, '09 08:10:31AM

i've used a very similar script for a while now with QS:

activate application "Mail"
tell application "Mail"
make new outgoing message with properties {visible:true}
end tell



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: chabig on Nov 09, '09 08:34:38AM

Those are the exact commands the LaunchBar uses, and they're already built in.



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: ZaneyGuy on Nov 09, '09 09:15:37AM

I didn't want to create a command key for this script so I just threw the script in my /Documents/Applescripts folder and made sure the folder was searchable by quicksilver. Now I activate quicksilver, type "nm" for new mail and up pops a new mail message window.

Thanks, that's fun even if I don't send the message. : )



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: DCJ001 on Nov 09, '09 10:02:51AM

I use the following keyboard command for starting a new Mail message:

Command-tab, until Mail is selected, then Command-N.

I don't need to program a script or use any additional software. I know that it's so inefficient to use the extra click or two. But it works pretty well!



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: rgspb on Nov 09, '09 10:55:43AM

I would just like to be able to right-click on a file and be able to select a "Email this file" selection from the pop-up menu.



[ Reply to This | # ]
Path Finder
Authored by: SeanAhern on Nov 09, '09 12:11:46PM

Then you want Path Finder.



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: houplagrundle on Nov 09, '09 02:36:16PM

I made a service that does this using Automator (though I use entourage)

Receive files or folders in Finder
Create new entourage message
Add attachments to entourage message

for Mail:

Receive files or folders in Finder
New Mail message
Add attachments to front message

(which I've just tried and works)



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: elspub on Nov 09, '09 02:40:36PM

For a right-click on a file to start a new email with that file attatched:
download this service:

or make your own, takes 15 seconds:
1. Open automator
2. Select create service
3. In "Service Receives Selected" change the drop-down menu to files
4. in the actions Library, selecting Mail will filter actions that only apply to Mail
5. Drag "New Mail Message" over into the automator workflow on the right.
6. Drag "Add Attatchments to Front Message" below that.
7. Save and name how you see fit.

Now go to the Finder, right-click on a file or multiple files, and go down to services and choose your service.

Enjoy



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: elspub on Nov 09, '09 02:44:15PM

apparently houplagrundle and I were on the same page.
I forgot to add the link to the service, if you just want to download it: http://is.gd/4Rft4
unzip the file and move "MailThis" to your home folder's Library/Services folder.



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: SuperCrisp on Nov 09, '09 03:13:04PM

That there are so many replies that don't mention this makes me think I must be missing something, but I'll throw this out there anyway. In Snow Leopard, you can enable a service that allows you to right-click a file and get a New E-mail With Attachment as the service says.



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: elspub on Nov 09, '09 04:18:16PM

Right, but that service is only accessible from the Services Menu in the menu bar. It doesn't show up in the services contextual menu...



[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: jonthaler on Nov 10, '09 01:30:19PM
Finder has a "Send File" services menu item. All you need to do is use the "Keyboard Shortcuts" system preference to assign a key to it. Then:
* Select the file
* Type the shortcut key.
I think that (almost) every application has this service.

[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: art vandelay on Nov 09, '09 08:14:05PM

launchbar has a built in command. I love launchbar.

it's awesome. I actually paid for a license :-)

bhardt@mac.com



[ Reply to This | # ]