Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 3.80 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)
 
[2,448 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 whomever posted them. This site is not responsible for what they say.
Start a new Mail message from anywhere
Authored by: incogenator on Mon, Nov 9 2009 at 8:10AM PST
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 Mon, Nov 9 2009 at 8:34AM PST
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 Mon, Nov 9 2009 at 9:15AM PST
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 Mon, Nov 9 2009 at 10:02AM PST
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 Mon, Nov 9 2009 at 10:55AM PST
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 Mon, Nov 9 2009 at 12:11PM PST
Then you want Path Finder.

[ Reply to This | # ]
Start a new Mail message from anywhere
Authored by: houplagrundle on Mon, Nov 9 2009 at 2:36PM PST
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 Mon, Nov 9 2009 at 2:40PM PST
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 Mon, Nov 9 2009 at 2:44PM PST
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 Mon, Nov 9 2009 at 3:13PM PST
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 Mon, Nov 9 2009 at 4:18PM PST
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 Tue, Nov 10 2009 at 1:30PM PST
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 Mon, Nov 9 2009 at 8:14PM PST
launchbar has a built in command. I love launchbar.

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

bhardt@mac.com

[ Reply to This | # ]