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

Create new e-mail message with attachment with Sparrow Apps
Here is an Automator action I made for creating a new e-mail message with an attachment from the Finder using Sparrow. It is similar to the built-in service for Mail.

Just create a new service, specify that the "Service receives selected: Files or Folders" in "Any Application."

Then, add a "Run Applescript module". Copy and paste the code below.

This works with multiple attachments. Now you should have a contextual menu item after selecting items in the Finder. You can tweak this by opening Keyboard preference pane in System Preferences.
on run {input, parameters}
	tell application "Sparrow Lite" -- or "Sparrow"
		activate
		set theMessage to make new outgoing message
		tell theMessage
			repeat with ii in input
				make new mail attachment with properties {filename:ii as alias}
			end repeat
			compose
		end tell
	end tell
end run
[kirkmc adds: This was submitted by e-mail by Tom F. I don't have Sparrow to test it. One thought: at the beginning, should it really be for "Any Application?" This only works in the Finder, so I think it should be just the Finder in that part of the workflow.]
    •    
  • Currently 4.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[4,771 views]  

Create new e-mail message with attachment with Sparrow | 3 comments | Create New Account
Click here to return to the 'Create new e-mail message with attachment with Sparrow' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create new e-mail message with attachment with Sparrow
Authored by: peterholdn on Jun 19, '12 07:52:28AM

I want both features. I love the autosave idea, but I also want the option of opening something and then deciding to change it and save it with a different name, for all sorts of reasons. I don't see why they need to be mutually exclusive. Allow autosave as a default option, and some people may never use "Save As…" for any reason. Good for them. But there are times when I actually want two different versions of something living separate lives.

---
Relax, it's only ones and zeroes.



[ Reply to This | # ]
Create new e-mail message with attachment with Sparrow
Authored by: kd7ile on Jun 19, '12 11:37:23AM

I think this comment belongs to the previous hint (autosave, etc.), not Sparrow. Just FYI. Feel free to delete this comment.

Edited on Jun 19, '12 11:42:07AM by kd7ile



[ Reply to This | # ]
Create new e-mail message with attachment with Sparrow
Authored by: camiguin on Jul 03, '12 04:46:43AM

Thank you for the hint, I have Sparrow and I miss this functionality. However, I cannot make it work. When I try to compile it it returns a syntax error in the 4th line "Expected end of line, etc. but found identifier." I cannot reolve it. Can you help?



[ Reply to This | # ]